navidrome/ui/src/radio/index.js
2023-01-17 14:22:10 -05:00

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 }