UNPKG

brightyui

Version:

Brighty UI library

17 lines (16 loc) 465 B
import { FC, ReactNode } from 'react'; interface IProps { children?: ReactNode; type?: 'button' | 'submit'; onClick?: ([...args]: any) => void; disabled?: boolean; className?: string; title?: string; theme?: 'primary' | 'secondary' | 'textPrimary' | 'textSecondary'; size?: 'small' | 'medium' | 'large'; fullwidth?: boolean; icon?: ReactNode; loading?: boolean; } declare const Button: FC<IProps>; export default Button;