Make Share icon dynamic

This commit is contained in:
Deluan 2023-01-23 10:22:11 -05:00 committed by Joe Stump
parent 7fd0326b8c
commit f1a0ef614d
No known key found for this signature in database
GPG Key ID: 29151C3EC48A0EB9

View File

@ -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}
/>
),
}