Merge pull request #1781 from 3af/patch-1

TypeScript: snack-bar label accepts element
old
Rubén Moya 2018-01-29 21:35:00 +01:00 committed by GitHub
commit a841d2a9c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.
*/