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.

10 lines (9 loc) 289 B
// export type ThemeType = 'primary'; // export type VariantType = 'contained'; // export type SizeType = 'lg'; // export type ShapeType = 'straight'; export const mainClassName = 'FashionButton'; export const mergeProps = (defaultProps, props) => ({ ...defaultProps, ...props });