import * as React from 'react'; import { PaperProps } from './paper'; import { ButtonBaseProps } from './button'; import { StandardProps } from './types'; export interface ExpansionPanelProps extends StandardProps { /** * @name Default Expanded * @group Expansion Panel * */ defaultExpanded?: boolean; /** * @name Disabled * @group Expansion Panel * */ disabled?: boolean; /** * @name Expanded * @group Expansion Panel * @default true * */ expanded?: boolean; /** * @name On Change * @description Callback fired when the expand/collapse state is changed. * */ onChange?: (event: React.ChangeEvent<{}>, expanded: boolean) => void; /** * @default * ```tsx * import * as React from 'react'; * import { ExpansionPanelSummary, ExpansionPanelDetails } from './'; * * export default () => ( * <> * * * <> * ); * ``` **/ children?: React.ReactNode; } export interface ExpansionPanelSummaryProps extends StandardProps { /** * @name Expand Icon * @default * ```tsx * import * as React from 'react'; * import { Icon } from './icon'; * * export default () => ( * * ); * ``` */ expandIcon?: React.ReactNode; /** * @default * ```tsx * import * as React from 'react'; * import { Typography } from './'; * * export default () => ( * * ); * ``` **/ children?: React.ReactNode; } export interface ExpansionPanelDetailsProps { /** * @default * ```tsx * import * as React from 'react'; * import { Typography } from './'; * * export default () => ( * * ); * ``` **/ children?: React.ReactNode; } export interface ExpansionPanelActionsProps { /** * @default * ```tsx * import * as React from 'react'; * import { Button } from './'; * * export default () => ( *