UNPKG

@mui/material

Version:

Quickly build beautiful React apps. MUI is a simple and customizable component library to build faster, beautiful, and more accessible React applications. Follow your own design system, or start with Material Design.

41 lines (37 loc) 1.17 kB
import * as React from 'react'; import { SxProps } from '@mui/system'; import { InternalStandardProps as StandardProps, Theme } from '..'; import { InputBaseProps } from '../InputBase'; import { OutlinedInputClasses } from './outlinedInputClasses'; export interface OutlinedInputProps extends StandardProps<InputBaseProps> { /** * Override or extend the styles applied to the component. */ classes?: Partial<OutlinedInputClasses>; /** * The label of the `input`. It is only used for layout. The actual labelling * is handled by `InputLabel`. */ label?: React.ReactNode; /** * If `true`, the outline is notched to accommodate the label. */ notched?: boolean; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme>; } /** * * Demos: * * - [Text Fields](https://mui.com/components/text-fields/) * * API: * * - [OutlinedInput API](https://mui.com/api/outlined-input/) * - inherits [InputBase API](https://mui.com/api/input-base/) */ declare const OutlinedInput: ((props: OutlinedInputProps) => JSX.Element) & { muiName: string }; export default OutlinedInput;