CoastalCommitsPastes/client/app/components/skeleton/index.tsx
2022-11-13 23:02:31 -08:00

11 lines
255 B
TypeScript

import styles from "./skeleton.module.css"
export default function Skeleton({
width = 100,
height = 24,
}: {
width?: number | string
height?: number | string
}) {
return <div className={styles.skeleton} style={{ width, height }} />
}