Skip to content

Commit

Permalink
TypeScript: snack-bar label accepts element
Browse files Browse the repository at this point in the history
Reflect changes made in code for #819
  • Loading branch information
3af authored Jan 3, 2018
1 parent b381db4 commit 40aa354
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/snackbar/Snackbar.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 40aa354

Please sign in to comment.