UNPKG

@mui/material

Version:

Material UI is an open-source React component library that implements Google's Material Design. It's comprehensive and can be used in production out of the box.

42 lines (41 loc) 1.26 kB
import { SxProps } from '@mui/system'; import { InternalStandardProps as StandardProps, Theme } from "../index.js"; import { InputBaseProps } from "../InputBase/index.js"; import { FilledInputClasses } from "./filledInputClasses.js"; 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://mui.com/material-ui/react-text-field/) * * API: * * - [FilledInput API](https://mui.com/material-ui/api/filled-input/) * - inherits [InputBase API](https://mui.com/material-ui/api/input-base/) */ declare const FilledInput: ((props: FilledInputProps) => React.JSX.Element) & { muiName: string; }; export default FilledInput;