// components/Skeleton.js import { h } from "sigpro"; export const Skeleton = (props) => h("div", { ...props, class: `skeleton ${props.class ?? ''}` }); export const SkeletonText = (props) => { return h("div", { ...props, class: "space-y-2" }, Array.from({ length: props.lines || 3 }, () => h("div", { class: `skeleton h-4 w-full ${props.class ?? ''}` }) ) ); };