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