carbon-components-svelte
Version:
Svelte implementation of the Carbon Design System
28 lines (22 loc) • 703 B
TypeScript
import { 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}`]: unknown;
};
export type PasswordInputSkeletonProps = Omit<$RestProps, keyof $Props> & $Props;
export default class PasswordInputSkeleton extends SvelteComponentTyped<
PasswordInputSkeletonProps,
{
click: WindowEventMap["click"];
mouseenter: WindowEventMap["mouseenter"];
mouseleave: WindowEventMap["mouseleave"];
mouseover: WindowEventMap["mouseover"];
},
Record<string, never>
> {}