TypeScript: snack-bar label accepts element
Reflect changes made in code for https://github.com/react-toolbox/react-toolbox/issues/819old
parent
b381db4054
commit
40aa354b16
|
@ -49,7 +49,7 @@ export interface SnackbarProps extends ReactToolbox.Props {
|
|||
/**
|
||||
* Text to display in the content.
|
||||
*/
|
||||
label?: string;
|
||||
label?: string | JSX.Element;
|
||||
/**
|
||||
* Callback function that will be called when the button action is clicked.
|
||||
*/
|
||||
|
|
Loading…
Reference in New Issue