norma-library
Version:
Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.
13 lines (11 loc) • 433 B
text/typescript
import { SxProps } from '@mui/material';
import { Theme } from '@emotion/react';
import { DataAccordion, MuiAccordionBaseProps } from '../types';
export interface AccordionBaseProps extends MuiAccordionBaseProps {
label?: React.ReactNode | String;
sx?: SxProps<Theme>;
onChange?: (event: React.SyntheticEvent, expanded: boolean) => void;
defaultExpanded?: boolean | string;
expanded?: boolean;
data?: DataAccordion[];
}