1 | import * as React from 'react';
|
2 | import { StandardProps } from '..';
|
3 | import { PaperProps } from '../Paper';
|
4 |
|
5 | export interface SnackbarContentProps
|
6 | extends StandardProps<PaperProps, SnackbarContentClassKey, 'children'> {
|
7 | |
8 |
|
9 |
|
10 | action?: React.ReactNode;
|
11 | |
12 |
|
13 |
|
14 | message?: React.ReactNode;
|
15 | |
16 |
|
17 |
|
18 | role?: PaperProps['role'];
|
19 | }
|
20 |
|
21 | export type SnackbarContentClassKey = 'root' | 'message' | 'action';
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 |
|
30 |
|
31 |
|
32 |
|
33 |
|
34 | export default function SnackbarContent(props: SnackbarContentProps): JSX.Element;
|