carbon-components-svelte
Version:
Svelte implementation of the Carbon Design System
28 lines (22 loc) • 664 B
TypeScript
import type { SvelteComponentTyped } from "svelte";
import type { SvelteHTMLElements } from "svelte/elements";
type $RestProps = SvelteHTMLElements["div"];
type $Props = {
/**
* Set to `true` to hide the label text
* @default false
*/
hideLabel?: boolean;
[key: `data-${string}`]: any;
};
export type SelectSkeletonProps = Omit<$RestProps, keyof $Props> & $Props;
export default class SelectSkeleton extends SvelteComponentTyped<
SelectSkeletonProps,
{
click: WindowEventMap["click"];
mouseover: WindowEventMap["mouseover"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
},
{}
> {}