Props
Attributes
- Graph
- Supertypes
- trait WithChildren[VdomElement]trait PropTypesclass Objecttrait Matchableclass Any
Members list
Type members
Value members
Concrete methods
Props applied to the ClickAwayListener
element.
Props applied to the ClickAwayListener
element.
Attributes
Props applied to the SnackbarContent
element.
The component used for the transition. Follow this guide to learn more about the requirements for this component.
The component used for the transition. Follow this guide to learn more about the requirements for this component.
Attributes
Props applied to the Transition
element.
The action to display. It renders after the message, at the end of the snackbar.
The action to display. It renders after the message, at the end of the snackbar.
Attributes
The anchor of the Snackbar
.
The anchor of the Snackbar
.
Attributes
The number of milliseconds to wait before automatically calling the
onClose
function. onClose
should then set the state of the open
prop to hide the Snackbar. This behavior is disabled by default with
the null
value.
The number of milliseconds to wait before automatically calling the
onClose
function. onClose
should then set the state of the open
prop to hide the Snackbar. This behavior is disabled by default with
the null
value.
Attributes
Replace the SnackbarContent
component.
Replace the SnackbarContent
component.
Attributes
Override or extend the styles applied to the component. See CSS API below for more details.
Override or extend the styles applied to the component. See CSS API below for more details.
Attributes
If true
, the autoHideDuration
timer will expire even if the window is not focused.
If true
, the autoHideDuration
timer will expire even if the window is not focused.
Attributes
The message to display.
The message to display.
Attributes
Callback fired when the component requests to be closed.
Typically onClose
is used to set state in the parent component,
which is used to control the Snackbar
open
prop.
The reason
parameter can optionally be used to control the response to onClose
,
for example ignoring clickaway
.
Callback fired when the component requests to be closed.
Typically onClose
is used to set state in the parent component,
which is used to control the Snackbar
open
prop.
The reason
parameter can optionally be used to control the response to onClose
,
for example ignoring clickaway
.
Attributes
- {object}
event The event source of the callback.
- {string}
reason Can be:
"timeout"
(autoHideDuration
expired),"clickaway"
.
If true
, Snackbar
is open.
If true
, Snackbar
is open.
Attributes
The number of milliseconds to wait before dismissing after user interaction.
If autoHideDuration
prop isn't specified, it does nothing.
If autoHideDuration
prop is specified but resumeHideDuration
isn't,
we default to autoHideDuration / 2
ms.
The number of milliseconds to wait before dismissing after user interaction.
If autoHideDuration
prop isn't specified, it does nothing.
If autoHideDuration
prop is specified but resumeHideDuration
isn't,
we default to autoHideDuration / 2
ms.
Attributes
The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.
The duration for the transition, in milliseconds. You may specify a single timeout for all transitions, or individually with an object.
Attributes
Deprecated methods
Callback fired before the transition is entering.
Callback fired before the transition is entering.
Attributes
- Deprecated
- true
Callback fired when the transition has entered.
Callback fired when the transition has entered.
Attributes
- Deprecated
- true
Callback fired when the transition is entering.
Callback fired when the transition is entering.
Attributes
- Deprecated
- true
Callback fired before the transition is exiting.
Callback fired before the transition is exiting.
Attributes
- Deprecated
- true
Callback fired when the transition has exited.
Callback fired when the transition has exited.
Attributes
- Deprecated
- true
Callback fired when the transition is exiting.
Callback fired when the transition is exiting.
Attributes
- Deprecated
- true
Inherited methods
Attributes
- Inherited from:
- PropTypes
Inherited fields
Attributes
- Inherited from:
- PropTypes