UNPKG

@wordpress/block-editor

Version:
20 lines (19 loc) 517 B
import _extends from "@babel/runtime/helpers/esm/extends"; import { createElement } from "@wordpress/element"; /** * Internal dependencies */ import ColorGradientControl from '../colors-gradients/control'; export default function ColorPaletteControl({ onChange, value, ...otherProps }) { return createElement(ColorGradientControl, _extends({}, otherProps, { onColorChange: onChange, colorValue: value, gradients: [], disableCustomGradients: true })); } //# sourceMappingURL=control.js.map