@material-ui/core
Version:
React components that implement Google's Material Design.
40 lines (36 loc) • 832 B
TypeScript
import * as React from 'react';
import { StandardProps } from '..';
import { InputBaseProps } from '../InputBase';
export interface InputProps extends StandardProps<InputBaseProps, InputClassKey> {
/**
* If `true`, the input will not have an underline.
*/
disableUnderline?: boolean;
}
export type InputClassKey =
| 'root'
| 'formControl'
| 'focused'
| 'disabled'
| 'colorSecondary'
| 'underline'
| 'error'
| 'marginDense'
| 'multiline'
| 'fullWidth'
| 'input'
| 'inputMarginDense'
| 'inputMultiline'
| 'inputTypeSearch';
/**
*
* Demos:
*
* - [Text Fields](https://mui.com/components/text-fields/)
*
* API:
*
* - [Input API](https://mui.com/api/input/)
* - inherits [InputBase API](https://mui.com/api/input-base/)
*/
export default function Input(props: InputProps): JSX.Element;