Skip to content

Commit 813c818

Browse files
authored
fix: github link enabled for playground
1 parent 95b2c7a commit 813c818

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/demo/menu/Menu.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React from 'react';
22
import { withStyles } from '@material-ui/core/styles';
3+
import GitHubIcon from '@material-ui/icons/GitHub';
34
import AppBar from '@material-ui/core/AppBar';
45
import Toolbar from '@material-ui/core/Toolbar';
56
import Typography from '@material-ui/core/Typography';
@@ -41,6 +42,9 @@ class RawMenuAppBar extends React.Component {
4142
<Typography color='inherit'>React JSONSchema Form (Material UI)</Typography>
4243
</div>
4344
<VersionSelect setVersion={setVersion} />
45+
<IconButton aria-label="github" onClick={() => { window.location.href = 'https://github.com/vip-git/react-jsonschema-form-material-ui'}}>
46+
<GitHubIcon fontSize="large" />
47+
</IconButton>
4448
</Toolbar>
4549
</AppBar>
4650
<LeftDrawer open={drawerOpen} toggleDrawer={this.toggleDrawer} onSelectMenuItem={onSelectMenuItem} />

0 commit comments

Comments
 (0)