From 40aa354b16ce305a5ca3329a86461fb6f3d0b220 Mon Sep 17 00:00:00 2001 From: 3af <33279089+3af@users.noreply.github.com> Date: Wed, 3 Jan 2018 11:08:14 +0100 Subject: [PATCH] TypeScript: snack-bar label accepts element Reflect changes made in code for https://github.com/react-toolbox/react-toolbox/issues/819 --- components/snackbar/Snackbar.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/snackbar/Snackbar.d.ts b/components/snackbar/Snackbar.d.ts index 9286938d..a3d40cca 100644 --- a/components/snackbar/Snackbar.d.ts +++ b/components/snackbar/Snackbar.d.ts @@ -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. */