UNPKG

@prezly/theme-kit-ui

Version:
19 lines (18 loc) 505 B
import type { FunctionComponent, SVGProps } from 'react'; export declare enum ButtonVariant { PRIMARY = "primary", SECONDARY = "secondary", NAVIGATION = "navigation" } export declare enum ButtonSize { DEFAULT = "default", SMALL = "small" } export interface BaseProps { variation?: `${ButtonVariant}`; size?: `${ButtonSize}`; className?: string; icon?: FunctionComponent<Omit<SVGProps<SVGElement>, 'ref'>>; iconPlacement?: 'left' | 'right'; rounded?: boolean; }