Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100910758
List.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
Mon, Feb 3, 21:09
Size
1 KB
Mime Type
text/x-java
Expires
Wed, Feb 5, 21:09 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24054622
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
List.d.ts
View Options
import * as React from 'react';
import { SxProps } from '@mui/system';
import { Theme } from '..';
import { OverridableComponent, OverridableTypeMap, OverrideProps } from '../OverridableComponent';
import { ListClasses } from './listClasses';
export interface ListTypeMap<P = {}, D extends React.ElementType = 'ul'> {
props: P & {
/**
* The content of the component.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<ListClasses>;
/**
* If `true`, compact vertical padding designed for keyboard and mouse input is used for
* the list and list items.
* The prop is available to descendant components as the `dense` context.
* @default false
*/
dense?: boolean;
/**
* If `true`, vertical padding is removed from the list.
* @default false
*/
disablePadding?: boolean;
/**
* The content of the subheader, normally `ListSubheader`.
*/
subheader?: React.ReactNode;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
};
defaultComponent: D;
}
/**
* utility to create component types that inherit props from List.
*/
export interface ExtendListTypeMap<M extends OverridableTypeMap> {
props: M['props'] & ListTypeMap['props'];
defaultComponent: M['defaultComponent'];
}
export type ExtendList<M extends OverridableTypeMap> = OverridableComponent<ExtendListTypeMap<M>>;
/**
*
* Demos:
*
* - [Lists](https://mui.com/material-ui/react-list/)
* - [Transfer List](https://mui.com/material-ui/react-transfer-list/)
*
* API:
*
* - [List API](https://mui.com/material-ui/api/list/)
*/
declare const List: ExtendList<ListTypeMap>;
export type ListProps<
D extends React.ElementType = ListTypeMap['defaultComponent'],
P = {},
> = OverrideProps<ListTypeMap<P, D>, D>;
export default List;
Event Timeline
Log In to Comment