10 lines
346 B
JavaScript
10 lines
346 B
JavaScript
import {withPropsStream} from 'react-props-stream'
|
|
import {withRouterHOC} from 'part:@sanity/base/router'
|
|
import {StructureMenuWidget} from './components'
|
|
import {toPropsStream} from './props'
|
|
|
|
export default {
|
|
name: 'structure-menu',
|
|
component: withRouterHOC(withPropsStream(toPropsStream, StructureMenuWidget)),
|
|
layout: {width: 'full'}
|
|
}
|