UNPKG
globalbridge-lsf-custom
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
GlobalBridge in-house labeling tool, originating from LSF.
globalbridge-lsf-custom
/
src
/
registerPanels.js
9 lines
(7 loc)
•
205 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
import
{ inject, observer }
from
'mobx-react'
;
export
const
registerPanels
= (
panels = []
) => {
return
panels.
map
(
panel
=>
({ ...panel,
Component
: panel.
builder
({ inject, observer }), })); };