mirror of
https://github.com/navidrome/navidrome.git
synced 2025-06-16 07:12:24 +03:00
Make Share icon dynamic
This commit is contained in:
parent
dbf80d8592
commit
34277f238c
@ -1,9 +1,18 @@
|
|||||||
import ShareList from './ShareList'
|
import ShareList from './ShareList'
|
||||||
import { ShareEdit } from './ShareEdit'
|
import { ShareEdit } from './ShareEdit'
|
||||||
import ShareIcon from '@material-ui/icons/Share'
|
import ShareIcon from '@material-ui/icons/Share'
|
||||||
|
import ShareOutlinedIcon from '@material-ui/icons/ShareOutlined'
|
||||||
|
import DynamicMenuIcon from '../layout/DynamicMenuIcon'
|
||||||
|
import React from 'react'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
list: ShareList,
|
list: ShareList,
|
||||||
edit: ShareEdit,
|
edit: ShareEdit,
|
||||||
icon: <ShareIcon />,
|
icon: (
|
||||||
|
<DynamicMenuIcon
|
||||||
|
path={'share'}
|
||||||
|
icon={ShareOutlinedIcon}
|
||||||
|
activeIcon={ShareIcon}
|
||||||
|
/>
|
||||||
|
),
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user