mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 11:36:36 +00:00
27 lines
673 B
TypeScript
27 lines
673 B
TypeScript
import type { SvelteComponentTyped } from "svelte";
|
|
|
|
export interface TextInputSkeletonProps {
|
|
/**
|
|
* Set to `true` to hide the label text
|
|
* @default false
|
|
*/
|
|
hideLabel?: boolean;
|
|
|
|
/**
|
|
* Specify the div HTML attributes for the skeleton container
|
|
* @default {}
|
|
*/
|
|
divAttributes?: Record<string, string>;
|
|
}
|
|
|
|
export default class TextInputSkeleton extends SvelteComponentTyped<
|
|
TextInputSkeletonProps,
|
|
{
|
|
click: WindowEventMap["click"];
|
|
pointerup: WindowEventMap["pointerup"];
|
|
pointerover: WindowEventMap["pointerover"];
|
|
pointerenter: WindowEventMap["pointerenter"];
|
|
pointerleave: WindowEventMap["pointerleave"];
|
|
},
|
|
{}
|
|
> {}
|