paradiego
This commit is contained in:
43
node_modules/@mui/material/SnackbarContent/SnackbarContent.d.ts
generated
vendored
Normal file
43
node_modules/@mui/material/SnackbarContent/SnackbarContent.d.ts
generated
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
import * as React from 'react';
|
||||
import { SxProps } from '@mui/system';
|
||||
import { Theme } from '../styles';
|
||||
import { InternalStandardProps as StandardProps } from '..';
|
||||
import { PaperProps } from '../Paper';
|
||||
import { SnackbarContentClasses } from './snackbarContentClasses';
|
||||
|
||||
export interface SnackbarContentProps extends StandardProps<PaperProps, 'children'> {
|
||||
/**
|
||||
* The action to display. It renders after the message, at the end of the snackbar.
|
||||
*/
|
||||
action?: React.ReactNode;
|
||||
/**
|
||||
* Override or extend the styles applied to the component.
|
||||
*/
|
||||
classes?: Partial<SnackbarContentClasses>;
|
||||
/**
|
||||
* The message to display.
|
||||
*/
|
||||
message?: React.ReactNode;
|
||||
/**
|
||||
* The ARIA role attribute of the element.
|
||||
* @default 'alert'
|
||||
*/
|
||||
role?: PaperProps['role'];
|
||||
/**
|
||||
* The system prop that allows defining system overrides as well as additional CSS styles.
|
||||
*/
|
||||
sx?: SxProps<Theme>;
|
||||
}
|
||||
|
||||
/**
|
||||
*
|
||||
* Demos:
|
||||
*
|
||||
* - [Snackbar](https://mui.com/material-ui/react-snackbar/)
|
||||
*
|
||||
* API:
|
||||
*
|
||||
* - [SnackbarContent API](https://mui.com/material-ui/api/snackbar-content/)
|
||||
* - inherits [Paper API](https://mui.com/material-ui/api/paper/)
|
||||
*/
|
||||
export default function SnackbarContent(props: SnackbarContentProps): React.JSX.Element;
|
||||
Reference in New Issue
Block a user