File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,6 @@ import { useClient } from 'cozy-client'
77
88import withBreakpoints from '../../helpers/withBreakpoints'
99import { makeStyles } from '../../styles'
10- import Button from '../../deprecated/Button'
1110import IconButton from '../../IconButton'
1211import Icon from '../../Icon'
1312import Typography from '../../Typography'
@@ -78,13 +77,13 @@ const Toolbar = ({
7877
7978 < div className = "u-ml-auto u-ph-1" >
8079 { isDesktop && (
81- < Button
80+ < IconButton
8281 className = "u-white"
83- icon = { DownloadIcon }
84- label = { t ( 'Viewer.download' ) }
85- subtle
82+ aria-label = { t ( 'Viewer.download' ) }
8683 onClick = { ( ) => downloadFile ( { client, file, url } ) }
87- />
84+ >
85+ < Icon icon = { DownloadIcon } />
86+ </ IconButton >
8887 ) }
8988 </ div >
9089 </ div >
You can’t perform that action at this time.
0 commit comments