1 | import * as React from 'react';
|
2 | import { SxProps } from '@mui/system';
|
3 | import { InternalStandardProps as StandardProps, Theme } from '..';
|
4 | import { ListItemSecondaryActionClasses } from './listItemSecondaryActionClasses';
|
5 |
|
6 | export interface ListItemSecondaryActionProps
|
7 | extends StandardProps<React.HTMLAttributes<HTMLDivElement>> {
|
8 | /**
|
9 | * The content of the component, normally an `IconButton` or selection control.
|
10 | */
|
11 | children?: React.ReactNode;
|
12 | /**
|
13 | * Override or extend the styles applied to the component.
|
14 | */
|
15 | classes?: Partial<ListItemSecondaryActionClasses>;
|
16 | /**
|
17 | * The system prop that allows defining system overrides as well as additional CSS styles.
|
18 | */
|
19 | sx?: SxProps<Theme>;
|
20 | }
|
21 |
|
22 | /**
|
23 | * Must be used as the last child of ListItem to function properly.
|
24 | *
|
25 | * Demos:
|
26 | *
|
27 | * - [Lists](https://mui.com/material-ui/react-list/)
|
28 | *
|
29 | * API:
|
30 | *
|
31 | * - [ListItemSecondaryAction API](https://mui.com/material-ui/api/list-item-secondary-action/)
|
32 | *
|
33 | * @deprecated Use the `secondaryAction` prop in the `ListItem` component instead. This component will be removed in v7. See [Migrating from deprecated APIs](https://mui.com/material-ui/migration/migrating-from-deprecated-apis/) for more details.
|
34 | */
|
35 | declare const ListItemSecondaryAction: ((
|
36 | props: ListItemSecondaryActionProps,
|
37 | ) => React.JSX.Element) & {
|
38 | muiName: string;
|
39 | };
|
40 |
|
41 | export default ListItemSecondaryAction;
|