feat: skeletons

This commit is contained in:
TrèsAbhi committed 2023-11-15 16:42:56 -06:00
1 parent 8f1017195f
commit 9257ebdd1e
2 files changed
+19

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
import { ComponentProps } from 'react';
import { skeleton } from './index.css';
export function Skeleton({ className, ...props }: ComponentProps<'div'>) {
return <div {...props} className={`${className} ${skeleton}`} />;
}