/** * DEPRECATED: Colors */ import { default as GetClasses } from './get-classes.js'; const ColorsDeprecated = [ { attributes: { hideHex: { type: "boolean", default: false }, hideRGB: { type: "boolean", default: false }, hideCMYK: { type: "boolean", default: false }, search: { type: "boolean", default: false } }, save: ( props ) => { const { InnerBlocks } = wp.blockEditor; // Get the values needed from props. const { search } = props.attributes; // Figure out what classes should be applied to the colors. const colorsClasses = GetClasses( props ); // Create the search form markup (optional). let maybeSearch = ''; if ( search ) { maybeSearch = (
); } return (