UNPKG

@jill64/svelte-input

Version:

➡️ Functional Input Component Set for Svelte

20 lines (19 loc) 696 B
import { type PromiseStatus } from '@jill64/svelte-observer'; import type { Snippet } from 'svelte'; import type { HTMLButtonAttributes } from 'svelte/elements'; type $$ComponentProps = { onClick: () => unknown; label?: string; Class?: HTMLButtonAttributes['class']; style?: HTMLButtonAttributes['style']; size?: number; gap?: string; color?: string; disabled?: HTMLButtonAttributes['disabled']; attributes?: HTMLButtonAttributes; debug?: boolean; children?: Snippet<[PromiseStatus]>; }; declare const ActionButton: import("svelte").Component<$$ComponentProps, {}, "">; type ActionButton = ReturnType<typeof ActionButton>; export default ActionButton;