fix(widget-color): rename to colorstring (#4496)
This commit is contained in:
12
packages/netlify-cms-widget-colorstring/src/index.js
Normal file
12
packages/netlify-cms-widget-colorstring/src/index.js
Normal 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;
|
Reference in New Issue
Block a user