(opts = {})
| 2 | import previewComponent from './StringPreview'; |
| 3 | |
| 4 | function Widget(opts = {}) { |
| 5 | return { |
| 6 | name: 'string', |
| 7 | controlComponent, |
| 8 | previewComponent, |
| 9 | ...opts, |
| 10 | }; |
| 11 | } |
| 12 | |
| 13 | export const DecapCmsWidgetString = { Widget, controlComponent, previewComponent }; |
| 14 | export default DecapCmsWidgetString; |
nothing calls this directly
no outgoing calls
no test coverage detected