UNPKG

877 BTypeScriptView Raw
1import * as React from 'react';
2import { SxProps } from '@mui/system';
3import { Theme, TypographyProps } from '..';
4import { AlertTitleClasses } from './alertTitleClasses';
5
6export interface AlertTitleProps extends TypographyProps<'div'> {
7 /**
8 * The content of the component.
9 */
10 children?: React.ReactNode;
11 /**
12 * Override or extend the styles applied to the component.
13 */
14 classes?: Partial<AlertTitleClasses>;
15 /**
16 * The system prop that allows defining system overrides as well as additional CSS styles.
17 */
18 sx?: SxProps<Theme>;
19}
20
21/**
22 *
23 * Demos:
24 *
25 * - [Alert](https://mui.com/material-ui/react-alert/)
26 *
27 * API:
28 *
29 * - [AlertTitle API](https://mui.com/material-ui/api/alert-title/)
30 * - inherits [Typography API](https://mui.com/material-ui/api/typography/)
31 */
32export default function AlertTitle(props: AlertTitleProps): React.JSX.Element;