@baseplate-dev/ui-components
Version:
Shared UI component library
12 lines • 448 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import { cn } from '#src/utils/cn.js';
/**
* A skeleton component that can be used to show a loading state.
*
* https://ui.shadcn.com/docs/components/skeleton
*/
function Skeleton({ className, ...props }) {
return (_jsx("div", { "data-slot": "skeleton", className: cn('animate-pulse rounded-md bg-accent', className), ...props }));
}
export { Skeleton };
//# sourceMappingURL=skeleton.js.map