Skip to content

armgit / papra

Public Imported from GitHub
0

The minimalistic document archiving platform.

339 B
Raw Blame
import type { ComponentProps } from 'solid-js';
import { splitProps } from 'solid-js';
import { cn } from '@/modules/shared/style/cn';

export function Skeleton(props: ComponentProps<'div'>) {
  const [local, rest] = splitProps(props, ['class']);

  return <div class={cn('animate-pulse rounded-md bg-muted', local.class)} {...rest} />;
}