ColorSwatch Function
Deprecated in 4.11.x. Use [[iTwinUI color picker]] instead.
ColorSwatch Functional component displays a color swatch in a button
ColorSwatch(props: ColorSwatchProps): Element
Parameter | Type | Description |
---|---|---|
props | ColorSwatchProps |
Returns - Element
Defined in
Last Updated: 22 March, 2024
Found something wrong, missing, or unclear on this page?
Raise an issue in our repo.