UNPKG

tm-reuseable-components

Version:

This is a reuseable components lib made for TextMercato

23 lines (22 loc) 678 B
import { MouseEventHandler, ReactNode } from "react"; export interface ButtonProps { variant?: "contained" | "outlined" | "text"; fullWidth?: boolean; size?: "small" | "medium" | "large"; children?: ReactNode; disabled?: boolean; href?: string; disableElevation?: boolean; color?: 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning'; startIcon?: ReactNode; endIcon?: ReactNode; onClick?: MouseEventHandler<HTMLButtonElement>; role?: string; className?: string; width?: string; height?: string; columnGap?: string; onMouseOver?: any; onMouseEnter?: any; onMouseLeave?: any; }