32 lines
No EOL
935 B
TypeScript
32 lines
No EOL
935 B
TypeScript
import * as React from 'react';
|
|
import { SxProps } from '@mui/system';
|
|
import { Theme } from "../styles/index.js";
|
|
import { TypographyProps } from "../Typography/index.js";
|
|
import { AlertTitleClasses } from "./alertTitleClasses.js";
|
|
export interface AlertTitleProps extends TypographyProps<'div'> {
|
|
/**
|
|
* The content of the component.
|
|
*/
|
|
children?: React.ReactNode;
|
|
/**
|
|
* Override or extend the styles applied to the component.
|
|
*/
|
|
classes?: Partial<AlertTitleClasses>;
|
|
/**
|
|
* The system prop that allows defining system overrides as well as additional CSS styles.
|
|
*/
|
|
sx?: SxProps<Theme>;
|
|
}
|
|
|
|
/**
|
|
*
|
|
* Demos:
|
|
*
|
|
* - [Alert](https://mui.com/material-ui/react-alert/)
|
|
*
|
|
* API:
|
|
*
|
|
* - [AlertTitle API](https://mui.com/material-ui/api/alert-title/)
|
|
* - inherits [Typography API](https://mui.com/material-ui/api/typography/)
|
|
*/
|
|
export default function AlertTitle(props: AlertTitleProps): React.JSX.Element; |