UNPKG

1.04 kBTypeScriptView Raw
1export interface SnackbarClasses {
2 /** Styles applied to the root element. */
3 root: string;
4 /** Styles applied to the root element if `anchorOrigin={{ 'top', 'center' }}`. */
5 anchorOriginTopCenter: string;
6 /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'center' }}`. */
7 anchorOriginBottomCenter: string;
8 /** Styles applied to the root element if `anchorOrigin={{ 'top', 'right' }}`. */
9 anchorOriginTopRight: string;
10 /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'right' }}`. */
11 anchorOriginBottomRight: string;
12 /** Styles applied to the root element if `anchorOrigin={{ 'top', 'left' }}`. */
13 anchorOriginTopLeft: string;
14 /** Styles applied to the root element if `anchorOrigin={{ 'bottom', 'left' }}`. */
15 anchorOriginBottomLeft: string;
16}
17export type SnackbarClassKey = keyof SnackbarClasses;
18export declare function getSnackbarUtilityClass(slot: string): string;
19declare const snackbarClasses: SnackbarClasses;
20export default snackbarClasses;