import React from 'react';
import { Skeleton } from 'reablocks';
export default {
title: 'Components/Elements/Skeleton',
component: Skeleton
};
export const Simple = () => {
return (
);
};
export const Animated = () => {
return (
);
};
export const Sizes = () => {
return (
);
};
export const Multiple = () => {
const widths = ['w-full', 'w-[90%]', 'w-[80%]', 'w-[70%]', 'w-[60%]'];
return (
{[...Array(5)].map((_, i) => (
))}
);
};
export const Shapes = () => {
return (
);
};
export const CardPlaceholder = () => {
return (
);
};
export const CustomStyles = () => {
return (
);
};
export const Variants = () => {
return (
Text
Rounded
Rectangle
Square
);
};
export const VariantsInContext = () => {
return (
);
};