Make Share icon dynamic

This commit is contained in:
Deluan 2023-01-23 10:22:11 -05:00
parent dbf80d8592
commit 34277f238c

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