13 lines
339 B
JavaScript
13 lines
339 B
JavaScript
import controlComponent from './RelationControl';
|
|
import previewComponent from './RelationPreview';
|
|
|
|
const Widget = (opts = {}) => ({
|
|
name: 'relation',
|
|
controlComponent,
|
|
previewComponent,
|
|
...opts,
|
|
});
|
|
|
|
export const NetlifyCmsWidgetRelation = { Widget, controlComponent, previewComponent };
|
|
export default NetlifyCmsWidgetRelation;
|