I’m working on a custom Gutenberg block. I have used <PanelBody>
<BaseControl>
and <ColorPalette>
to create some custom color pickers, however, it seems like it would be more efficient to use the built-in <PanelColorSettings>
component.
Has anyone used <PanelColorSettings>
component in a custom block? The only discussion of this technique I could find was here: https://stackoverflow.com/questions/50480454/add-the-inbuilt-colour-palette-for-gutenberg-custom-block