mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-04 13:07:36 +03:00
26 lines
570 B
JavaScript
26 lines
570 B
JavaScript
import RadioCreate from './RadioCreate'
|
|
import RadioEdit from './RadioEdit'
|
|
import RadioList from './RadioList'
|
|
import DynamicMenuIcon from '../layout/DynamicMenuIcon'
|
|
import RadioIcon from '@material-ui/icons/Radio'
|
|
import RadioOutlinedIcon from '@material-ui/icons/RadioOutlined'
|
|
import React from 'react'
|
|
|
|
const all = {
|
|
list: RadioList,
|
|
icon: (
|
|
<DynamicMenuIcon
|
|
path={'radio'}
|
|
icon={RadioOutlinedIcon}
|
|
activeIcon={RadioIcon}
|
|
/>
|
|
),
|
|
}
|
|
|
|
const admin = {
|
|
...all,
|
|
create: RadioCreate,
|
|
edit: RadioEdit,
|
|
}
|
|
|
|
export default { all, admin }
|