UNPKG

mochi-ui

Version:

Mochi UI is a React component library that helps you build aweomse production ready UI components with a soft UI design.

16 lines (15 loc) 451 B
import React from 'react'; type Props = { title?: string; icon?: any; iconRight?: any; onClick?: (() => Promise<any>) | (() => void); fullWidth?: boolean; size?: 'large' | 'medium' | 'small' | 'icon'; color?: 'primary' | 'secondary' | 'tertiary' | 'danger' | 'warning'; shaded?: boolean; disabled?: boolean; margin?: boolean; }; declare const Button: (props: Props) => React.JSX.Element; export default Button;