robust-react-ui
Version:
A React component library, built with a focus on accessibility, extensibility and reusability.
18 lines (17 loc) • 449 B
TypeScript
export interface IFormSubmitProps {
/**
* Size setting for component.
* @default medium
*/
size?: 'small' | 'medium' | 'large';
/**
* Provides component with a colour theme.
* @default primary
*/
variant?: 'primary' | 'danger' | 'success';
value: string;
/**
* Provides the component with an id attribute. May be used for accessibility purposes.
*/
id?: string;
}