Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F98167997
InputAdornment.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 10, 15:22
Size
1 KB
Mime Type
text/x-java
Expires
Sun, Jan 12, 15:22 (2 d)
Engine
blob
Format
Raw Data
Handle
23525396
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
InputAdornment.d.ts
View Options
import * as React from 'react';
import { SxProps } from '@mui/system';
import { OverridableComponent, OverrideProps } from '../OverridableComponent';
import { Theme } from '..';
import { InputAdornmentClasses } from './inputAdornmentClasses';
export interface InputAdornmentTypeMap<P = {}, D extends React.ElementType = 'div'> {
props: P & {
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<InputAdornmentClasses>;
/**
* The content of the component, normally an `IconButton` or string.
*/
children?: React.ReactNode;
/**
* Disable pointer events on the root.
* This allows for the content of the adornment to focus the `input` on click.
* @default false
*/
disablePointerEvents?: boolean;
/**
* If children is a string then disable wrapping in a Typography component.
* @default false
*/
disableTypography?: boolean;
/**
* The position this adornment should appear relative to the `Input`.
*/
position: 'start' | 'end';
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* The variant to use.
* Note: If you are using the `TextField` component or the `FormControl` component
* you do not have to set this manually.
*/
variant?: 'standard' | 'outlined' | 'filled';
};
defaultComponent: D;
}
/**
*
* Demos:
*
* - [Text Field](https://mui.com/material-ui/react-text-field/)
*
* API:
*
* - [InputAdornment API](https://mui.com/material-ui/api/input-adornment/)
*/
declare const InputAdornment: OverridableComponent<InputAdornmentTypeMap>;
export type InputAdornmentProps<
D extends React.ElementType = InputAdornmentTypeMap['defaultComponent'],
P = {},
> = OverrideProps<InputAdornmentTypeMap<P, D>, D>;
export default InputAdornment;
Event Timeline
Log In to Comment