UNPKG

@massds/mayflower-react

Version:

React versions of Mayflower design system UI components

30 lines (29 loc) 695 B
/** * Input module. * @module @massds/mayflower-react/Input * @requires module:@massds/mayflower-assets/scss/01-atoms/01-atoms/helper-text */ import React from 'react'; export interface InputProps { id?: string; labelText?: string; hiddenLabel?: boolean; required?: boolean; inline?: boolean; disabled?: boolean; classes?: string[]; } declare const Input: { (props: InputProps): any; contextType: any; }; export interface InputProviderProps { inline?: boolean; id?: string; children?: React.ReactNode; disabled?: boolean; errorMsg?: string; defaultValue?: string | boolean | number; classes?: string[]; } export default Input;