CoastalCommitsPastes/client/app/components/skeleton/index.tsx

12 lines
239 B
TypeScript
Raw Normal View History

import styles from "./skeleton.module.css"
export default function Skeleton({
2022-11-18 01:36:53 -05:00
width = 100,
height = 24
}: {
2022-11-18 01:36:53 -05:00
width?: number | string
height?: number | string
}) {
2022-11-18 01:36:53 -05:00
return <div className={styles.skeleton} style={{ width, height }} />
}