Skip to content

button

button

Type Aliases

Button

type Button = ReturnType<typeof Button>;

Defined in: packages/ui/build/button/button.svelte.d.ts:60


ButtonProps

type ButtonProps = WithElementRef<HTMLButtonAttributes> & WithElementRef<HTMLAnchorAttributes> & object;

Defined in: packages/ui/build/button/button.svelte.d.ts:52

Type Declaration

disabledMessage?
optional disabledMessage?: string;
hint?
optional hint?: string;
readonly?
optional readonly?: boolean;
readonlyMessage?
optional readonlyMessage?: string;
size?
optional size?: ButtonSize;
variant?
optional variant?: ButtonVariant;

ButtonSize

type ButtonSize = VariantProps<typeof buttonVariants>["size"];

Defined in: packages/ui/build/button/button.svelte.d.ts:51


ButtonVariant

type ButtonVariant = VariantProps<typeof buttonVariants>["variant"];

Defined in: packages/ui/build/button/button.svelte.d.ts:50

Variables

Button

const Button: Component;

Defined in: packages/ui/build/button/button.svelte.d.ts:60


buttonVariants

const buttonVariants: TVReturnType;

Defined in: packages/ui/build/button/button.svelte.d.ts:4

References

Props

Renames and re-exports ButtonProps


Root

Renames and re-exports Button