Skip to content

Commit 698aa40

Browse files
authored
Merge pull request #128 from jtpio/react-example-icon
Add an icon to the react widget
2 parents 02c7c0f + 31d04b9 commit 698aa40

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)