UNPKG

1.21 kBTypeScriptView Raw
1import * as React from 'react';
2import { SxProps } from '@mui/system';
3import { InternalStandardProps as StandardProps, Theme } from '..';
4import { InputBaseProps } from '../InputBase';
5import { OutlinedInputClasses } from './outlinedInputClasses';
6
7export interface OutlinedInputProps extends StandardProps<InputBaseProps> {
8 /**
9 * Override or extend the styles applied to the component.
10 */
11 classes?: Partial<OutlinedInputClasses>;
12 /**
13 * The label of the `input`. It is only used for layout. The actual labelling
14 * is handled by `InputLabel`.
15 */
16 label?: React.ReactNode;
17 /**
18 * If `true`, the outline is notched to accommodate the label.
19 */
20 notched?: boolean;
21 /**
22 * The system prop that allows defining system overrides as well as additional CSS styles.
23 */
24 sx?: SxProps<Theme>;
25}
26
27/**
28 *
29 * Demos:
30 *
31 * - [Text Field](https://mui.com/material-ui/react-text-field/)
32 *
33 * API:
34 *
35 * - [OutlinedInput API](https://mui.com/material-ui/api/outlined-input/)
36 * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
37 */
38declare const OutlinedInput: ((props: OutlinedInputProps) => React.JSX.Element) & {
39 muiName: string;
40};
41
42export default OutlinedInput;
43
\No newline at end of file