mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
25 lines
632 B
TypeScript
25 lines
632 B
TypeScript
import type { SvelteComponentTyped } from "svelte";
|
|
import type { SvelteHTMLElements } from "svelte/elements";
|
|
|
|
type RestProps = SvelteHTMLElements["div"];
|
|
|
|
export interface SearchSkeletonProps extends RestProps {
|
|
/**
|
|
* Specify the size of the search input
|
|
* @default "xl"
|
|
*/
|
|
size?: "sm" | "lg" | "xl";
|
|
|
|
[key: `data-${string}`]: any;
|
|
}
|
|
|
|
export default class SearchSkeleton extends SvelteComponentTyped<
|
|
SearchSkeletonProps,
|
|
{
|
|
click: WindowEventMap["click"];
|
|
mouseover: WindowEventMap["mouseover"];
|
|
mouseenter: WindowEventMap["mouseenter"];
|
|
mouseleave: WindowEventMap["mouseleave"];
|
|
},
|
|
{}
|
|
> {}
|