mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00

* Add widget card style and background * Add padding and header based on embed type parameter * Add changelog * Add loading spinner component * Add loading spinners
12 lines
210 B
TypeScript
12 lines
210 B
TypeScript
import React from 'preact';
|
|
|
|
import styles from './Card.module.scss';
|
|
|
|
const Card = (props: React.ComponentProps<'div'>) =>
|
|
<div
|
|
{...props}
|
|
className={styles.card}
|
|
/>;
|
|
|
|
export { Card };
|