Skeleton
Display a skeleton to make the user wait.
import { Skeleton } from 'swash/Skeleton';
() => (
<Skeleton className="w-48 h-48 rounded" />
);
Delay
Use delay
to specify a delay before showing the loader. By default it uses a delay of 300ms the time recommended before showing a loading indicator.
<Skeleton delay={1000} />