mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Make Share icon dynamic
This commit is contained in:
parent
dbf80d8592
commit
34277f238c
1 changed files with 10 additions and 1 deletions
|
@ -1,9 +1,18 @@
|
|||
import ShareList from './ShareList'
|
||||
import { ShareEdit } from './ShareEdit'
|
||||
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 {
|
||||
list: ShareList,
|
||||
edit: ShareEdit,
|
||||
icon: <ShareIcon />,
|
||||
icon: (
|
||||
<DynamicMenuIcon
|
||||
path={'share'}
|
||||
icon={ShareOutlinedIcon}
|
||||
activeIcon={ShareIcon}
|
||||
/>
|
||||
),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue