File tree Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Expand file tree Collapse file tree 1 file changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,8 @@ import { makeStyles } from '@material-ui/core/styles'
5
5
import Tooltip from '@material-ui/core/Tooltip'
6
6
import Button from '@material-ui/core/Button'
7
7
import IconCode from '@material-ui/icons/Code'
8
- import IconFavorite from '@material-ui/icons/Favorite'
9
8
import IconStar from '@material-ui/icons/Star'
10
-
11
- // const SupportLink = React.forwardRef<HTMLAnchorElement, LinkProps>((props, ref) => (
12
- // <Link innerRef={ref as any} {...props} />
13
- // ))
9
+ import IconDownload from '@material-ui/icons/GetApp'
14
10
15
11
const AppHeaderDemoButtons = props => {
16
12
const classes = useStyles ( props )
@@ -29,6 +25,18 @@ const AppHeaderDemoButtons = props => {
29
25
< span className = { classes . demoName } > View on GitHub</ span >
30
26
</ Button >
31
27
</ Tooltip >
28
+ < Tooltip title = "View on GitHub" >
29
+ < Button
30
+ size = "small"
31
+ variant = "outlined"
32
+ color = "primary"
33
+ className = { classes . button }
34
+ href = "https://github.com/modularcode/modular-material-admin-react/releases"
35
+ >
36
+ < IconDownload className = { classes . demoIcon } />
37
+ < span className = { classes . demoName } > Download</ span >
38
+ </ Button >
39
+ </ Tooltip >
32
40
{ /* <Tooltip title="Help me to keep the project active!">
33
41
<Button
34
42
component={Link}
You can’t perform that action at this time.
0 commit comments