F
ColorRow
A settings row that shows a color swatch, opens Discord's color picker when pressed and offers a reset back to the default. Discord's picker reports its current color when dismissed, so a pick matching the shown color is ignored.
function ColorRow(props: ColorRowProps): ReactElementParameters
| Name | Type | Description |
|---|---|---|
| props | ColorRowProps | The row's label, chosen color, the default it falls back to and the change handler. |
Returns
ReactElementThe row.