Skip to content

Commit 31d04b9

Browse files
committed
Add icon to the react widget
1 parent 02c7c0f commit 31d04b9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

react/react-widget/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const extension: JupyterFrontEndPlugin<void> = {
3737
const content = new CounterWidget();
3838
const widget = new MainAreaWidget<CounterWidget>({ content });
3939
widget.title.label = 'React Widget';
40+
widget.title.icon = reactIcon;
4041
app.shell.add(widget, 'main');
4142
}
4243
});

0 commit comments

Comments
 (0)