UNPKG

@lunalytics/ui

Version:

React based component library created to be used in Lunalytics

13 lines (12 loc) 403 B
import { GlobalColors, GlobalVariants } from '../global.types'; export interface ButtonProps extends React.HTMLAttributes<HTMLAllCollection> { children: React.ReactNode; iconLeft?: React.ReactNode; iconRight?: React.ReactNode; color?: GlobalColors; variant?: GlobalVariants; theme?: 'light' | 'dark'; fullWidth?: boolean; tabIndex?: number; as?: React.ElementType; }