@dojima-ui/types
Version:
common types utilised by dojima organisation for webpages.
17 lines (16 loc) • 585 B
TypeScript
import { GridComponentProps } from './Grid';
import { CssComponentProps } from './Common';
import { CSSProperties } from 'react';
export declare type buttonVariant = 'text' | 'outlined' | 'contained';
export interface ButtonComponentProps extends GridComponentProps, CssComponentProps {
text?: string;
variant?: buttonVariant;
color?: string;
startIcon?: React.ReactNode;
endIcon?: React.ReactNode;
onClick?: React.MouseEventHandler<HTMLButtonElement>;
disable?: boolean;
fullWidth?: boolean;
className?: string;
buttonStyles?: CSSProperties;
}