(opts = {})
| 3 | import schema from './schema'; |
| 4 | |
| 5 | function Widget(opts = {}) { |
| 6 | return { |
| 7 | name: 'code', |
| 8 | controlComponent, |
| 9 | previewComponent, |
| 10 | schema, |
| 11 | allowMapValue: true, |
| 12 | codeMirrorConfig: {}, |
| 13 | ...opts, |
| 14 | }; |
| 15 | } |
| 16 | |
| 17 | export const DecapCmsWidgetCode = { Widget, controlComponent, previewComponent }; |
| 18 | export default DecapCmsWidgetCode; |
nothing calls this directly
no outgoing calls
no test coverage detected