fix(widget-color): rename to colorstring (#4496)

This commit is contained in:
Erez Rokah
2020-10-25 20:16:12 +01:00
committed by GitHub
parent fed0e82dd3
commit fbc8963726
9 changed files with 16 additions and 9 deletions

View File

@ -0,0 +1,12 @@
import controlComponent from './ColorControl';
import previewComponent from './ColorPreview';
const Widget = (opts = {}) => ({
name: 'color',
controlComponent,
previewComponent,
...opts,
});
export const NetlifyCmsWidgetColorString = { Widget, controlComponent, previewComponent };
export default NetlifyCmsWidgetColorString;