Initial commit
This commit is contained in:
commit
5a3bf52ebb
86 changed files with 2639 additions and 0 deletions
10
studio/plugins/dashboard-widget-structure-menu/src/widget.js
Normal file
10
studio/plugins/dashboard-widget-structure-menu/src/widget.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
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'}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue