UNPKG

972 BTypeScriptView Raw
1import { SxProps } from '@mui/system';
2import { InternalStandardProps as StandardProps, Theme } from '..';
3import { InputBaseProps } from '../InputBase';
4import { InputClasses } from './inputClasses';
5
6export interface InputProps extends StandardProps<InputBaseProps> {
7 /**
8 * Override or extend the styles applied to the component.
9 */
10 classes?: Partial<InputClasses>;
11 /**
12 * If `true`, the `input` will not have an underline.
13 * @default false
14 */
15 disableUnderline?: boolean;
16 /**
17 * The system prop that allows defining system overrides as well as additional CSS styles.
18 */
19 sx?: SxProps<Theme>;
20}
21
22/**
23 *
24 * Demos:
25 *
26 * - [Text Field](https://mui.com/material-ui/react-text-field/)
27 *
28 * API:
29 *
30 * - [Input API](https://mui.com/material-ui/api/input/)
31 * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
32 */
33declare const Input: ((props: InputProps) => React.JSX.Element) & { muiName: string };
34
35export default Input;
36
\No newline at end of file