UNPKG

@wordpress/block-editor

Version:
24 lines (23 loc) 532 B
// packages/block-editor/src/components/color-palette/control.js import ColorGradientControl from "../colors-gradients/control"; import { jsx } from "react/jsx-runtime"; function ColorPaletteControl({ onChange, value, ...otherProps }) { return /* @__PURE__ */ jsx( ColorGradientControl, { ...otherProps, onColorChange: onChange, colorValue: value, gradients: [], disableCustomGradients: true } ); } export { ColorPaletteControl as default }; //# sourceMappingURL=control.js.map