35 lines
964 B
TypeScript
35 lines
964 B
TypeScript
import * as React from 'react';
|
|
import { TypographyTypeMap } from '../Typography';
|
|
import { OverrideProps, OverridableComponent } from '../OverridableComponent';
|
|
|
|
export interface DialogContentTextTypeMap<
|
|
P = {},
|
|
D extends React.ElementType = TypographyTypeMap['defaultComponent']
|
|
> {
|
|
props: P & TypographyTypeMap['props'];
|
|
defaultComponent: D;
|
|
classKey: DialogContentTextClassKey;
|
|
}
|
|
|
|
export type DialogContentTextClassKey = 'root';
|
|
|
|
/**
|
|
*
|
|
* Demos:
|
|
*
|
|
* - [Dialogs](https://mui.com/components/dialogs/)
|
|
*
|
|
* API:
|
|
*
|
|
* - [DialogContentText API](https://mui.com/api/dialog-content-text/)
|
|
* - inherits [Typography API](https://mui.com/api/typography/)
|
|
*/
|
|
declare const DialogContentText: OverridableComponent<DialogContentTextTypeMap>;
|
|
|
|
export type DialogContentTextProps<
|
|
D extends React.ElementType = DialogContentTextTypeMap['defaultComponent'],
|
|
P = {}
|
|
> = OverrideProps<DialogContentTextTypeMap<P, D>, D>;
|
|
|
|
export default DialogContentText;
|