import { SvelteComponentTyped } from "svelte"; import type { SvelteHTMLElements } from "svelte/elements"; type $RestProps = SvelteHTMLElements["div"]; type $Props = { /** * Specify the number of rows * @default 4 */ count?: number; /** * Specify the size of the tree view it stands in for. * Also accepts Carbon v11's `"sm"` (`"default"`, 32px) and `"xs"` * (`"compact"`, 24px). * @default "default" */ size?: "default" | "compact" | "sm" | "xs"; /** * Set to `true` to leave out the label bar, as TreeView's `hideLabel` does * @default false */ hideLabel?: boolean; [key: `data-${string}`]: unknown; }; export type TreeViewSkeletonProps = Omit<$RestProps, keyof $Props> & $Props; export default class TreeViewSkeleton extends SvelteComponentTyped< TreeViewSkeletonProps, { click: WindowEventMap["click"]; mouseenter: WindowEventMap["mouseenter"]; mouseleave: WindowEventMap["mouseleave"]; mouseover: WindowEventMap["mouseover"]; }, Record > {}