Skip to content

Commit 40aa354

Browse files
authored
TypeScript: snack-bar label accepts element
Reflect changes made in code for #819
1 parent b381db4 commit 40aa354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/snackbar/Snackbar.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface SnackbarProps extends ReactToolbox.Props {
4949
/**
5050
* Text to display in the content.
5151
*/
52-
label?: string;
52+
label?: string | JSX.Element;
5353
/**
5454
* Callback function that will be called when the button action is clicked.
5555
*/

0 commit comments

Comments
 (0)