import { type PropsOf, component$ } from '@builder.io/qwik';
import { cn } from '@qwik-ui/utils';

export const Skeleton = component$<PropsOf<'div'>>(({ ...props }) => {
  return (
    <div
      {...props}
      class={cn('animate-pulse rounded-sm bg-foreground/10', props.class)}
    />
  );
});
