mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 10:21:05 +00:00
The Svelte Language Server allows component-level comments through `<!-- @component ... -->` syntax. Deprecation notices for components should be moved from the script block to the markup template.
25 lines
592 B
TypeScript
25 lines
592 B
TypeScript
/// <reference types="svelte" />
|
|
import { SvelteComponentTyped } from "svelte";
|
|
|
|
export interface IconSkeletonProps
|
|
extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
|
/**
|
|
* Set the size of the icon
|
|
* @default 16
|
|
*/
|
|
size?: number;
|
|
}
|
|
|
|
/**
|
|
* @deprecated This component is deprecated.
|
|
*/
|
|
export default class IconSkeleton extends SvelteComponentTyped<
|
|
IconSkeletonProps,
|
|
{
|
|
click: WindowEventMap["click"];
|
|
mouseover: WindowEventMap["mouseover"];
|
|
mouseenter: WindowEventMap["mouseenter"];
|
|
mouseleave: WindowEventMap["mouseleave"];
|
|
},
|
|
{}
|
|
> {}
|