1 | import * as React from 'react';
|
2 | import { ExtendButtonBase, ExtendButtonBaseTypeMap } from '../ButtonBase';
|
3 | import { IconButtonProps } from '../IconButton';
|
4 | import { OverrideProps } from '../OverridableComponent';
|
5 |
|
6 | export type ExpansionPanelSummaryTypeMap<
|
7 | P = {},
|
8 | D extends React.ElementType = 'div'
|
9 | > = ExtendButtonBaseTypeMap<{
|
10 | props: P & {
|
11 | expandIcon?: React.ReactNode;
|
12 | IconButtonProps?: Partial<IconButtonProps>;
|
13 | };
|
14 | defaultComponent: D;
|
15 | classKey: ExpansionPanelSummaryClassKey;
|
16 | }>;
|
17 |
|
18 | declare const ExpansionPanelSummary: ExtendButtonBase<ExpansionPanelSummaryTypeMap>;
|
19 |
|
20 | export type ExpansionPanelSummaryClassKey =
|
21 | | 'root'
|
22 | | 'expanded'
|
23 | | 'focused'
|
24 | | 'disabled'
|
25 | | 'content'
|
26 | | 'expandIcon';
|
27 |
|
28 | export type ExpansionPanelSummaryProps<
|
29 | D extends React.ElementType = ExpansionPanelSummaryTypeMap['defaultComponent'],
|
30 | P = {}
|
31 | > = OverrideProps<ExpansionPanelSummaryTypeMap<P, D>, D>;
|
32 |
|
33 | export default ExpansionPanelSummary;
|