import * as React from 'react'; import { SxProps } from '@mui/system'; import { ExtendButtonBase, ExtendButtonBaseTypeMap } from '../ButtonBase'; import { OverrideProps } from '../OverridableComponent'; import { Theme } from '..'; import { AccordionSummaryClasses } from './accordionSummaryClasses'; export interface AccordionSummaryOwnProps { /** * The content of the component. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: Partial; /** * The icon to display as the expand indicator. */ expandIcon?: React.ReactNode; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps; } export type AccordionSummaryTypeMap< AdditionalProps = {}, RootComponent extends React.ElementType = 'div', > = ExtendButtonBaseTypeMap<{ props: AdditionalProps & AccordionSummaryOwnProps; defaultComponent: RootComponent; }>; /** * * Demos: * * - [Accordion](https://mui.com/material-ui/react-accordion/) * * API: * * - [AccordionSummary API](https://mui.com/material-ui/api/accordion-summary/) * - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/) */ declare const AccordionSummary: ExtendButtonBase; export type AccordionSummaryProps< RootComponent extends React.ElementType = AccordionSummaryTypeMap['defaultComponent'], AdditionalProps = {}, > = OverrideProps, RootComponent> & { component?: React.ElementType; }; export default AccordionSummary;