@dojima-ui/types
Version:
common types utilised by dojima organisation for webpages.
24 lines (23 loc) • 653 B
TypeScript
import { CSSProperties } from 'react';
export declare type variant = 'text' | 'outlined' | 'contained';
export declare type color = 'inherit' | 'primary' | 'secondary' | 'success' | 'error' | 'info' | 'warning';
export interface CssComponentProps {
styles?: CSSProperties;
className?: string;
}
export interface FormControlComponentProps {
label?: string;
id?: any;
name?: string;
required?: boolean;
value?: any;
fullWidth?: boolean;
error?: boolean;
helperText?: string;
disable?: boolean;
className?: string;
placeholder?: string;
}
export interface ChildrenType {
children: React.ReactNode;
}