UNPKG

1.24 kBTypeScriptView Raw
1import { SxProps } from '@mui/system';
2import { InternalStandardProps as StandardProps, Theme } from '..';
3import { InputBaseProps } from '../InputBase';
4import { FilledInputClasses } from './filledInputClasses';
5
6export interface FilledInputProps extends StandardProps<InputBaseProps> {
7 /**
8 * Override or extend the styles applied to the component.
9 */
10 classes?: Partial<FilledInputClasses>;
11 /**
12 * If `true`, the label is hidden.
13 * This is used to increase density for a `FilledInput`.
14 * Be sure to add `aria-label` to the `input` element.
15 * @default false
16 */
17 hiddenLabel?: boolean;
18 /**
19 * If `true`, the input will not have an underline.
20 * @default false
21 */
22 disableUnderline?: boolean;
23 /**
24 * The system prop that allows defining system overrides as well as additional CSS styles.
25 */
26 sx?: SxProps<Theme>;
27}
28
29/**
30 *
31 * Demos:
32 *
33 * - [Text Field](https://mui.com/material-ui/react-text-field/)
34 *
35 * API:
36 *
37 * - [FilledInput API](https://mui.com/material-ui/api/filled-input/)
38 * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/)
39 */
40declare const FilledInput: ((props: FilledInputProps) => React.JSX.Element) & { muiName: string };
41
42export default FilledInput;
43
\No newline at end of file