UNPKG

@kamrade/svelte-dynamic-button

Version:

A simple button template that supports a flexible set of themes, variants, sizes and shapes. You can find usage examples (MagicButton and SimpleButton components) in the repository.

18 lines (17 loc) 577 B
export declare const mainClassName = "FashionButton"; export interface ISimpleButtonProps { className?: string; block?: boolean; disabled?: boolean; convex?: boolean; loading?: boolean; onClick?: (e: MouseEvent) => void; } export declare const mergeProps: (defaultProps: ISimpleButtonProps, props: ISimpleButtonProps) => { className?: string | undefined; block?: boolean | undefined; disabled?: boolean | undefined; convex?: boolean | undefined; loading?: boolean | undefined; onClick?: ((e: MouseEvent) => void) | undefined; };