Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F102002139
SnackbarContent.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Feb 16, 01:45
Size
1 KB
Mime Type
text/x-java
Expires
Tue, Feb 18, 01:45 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
24240570
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
SnackbarContent.d.ts
View Options
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): JSX.Element;
Event Timeline
Log In to Comment