@ui5/webcomponents-react
Version:
React Wrapper for UI5 Web Components and additional components
19 lines (18 loc) • 816 B
JavaScript
'use client';
import '@ui5/webcomponents/dist/ColorPalette.js';
import { withWebComponent } from '../../internal/withWebComponent.js';
/**
* The `ColorPalette` provides the users with a range of predefined colors. The colors are fixed and do not change with the theme.
*
* ### Usage
*
* The `ColorPalette` is meant for users that need to select a color from a predefined set.
* To define the colors, use the `ColorPaletteItem` component inside the default slot of the `ColorPalette`.
*
*
*
* __Note__: This is a UI5 Web Component! [Repository](https://github.com/SAP/ui5-webcomponents) | [Documentation](https://sap.github.io/ui5-webcomponents/)
*/
const ColorPalette = withWebComponent('ui5-color-palette', [], [], [], ['item-click']);
ColorPalette.displayName = 'ColorPalette';
export { ColorPalette };