title
Description
Optional. Sets a tooltip text with additional info about the controlUsage
title?: string;
Example
function Example() {
const [color, setColor] = useState("#ff0000");
const id = "colorpicker-1"; // provided from surrounding scope
return (
<ColorPicker
value={color}
onChange={v => setColor(v.value)}
id={id}
title="Colors can be reconfigured"
/>
);
}
Related article: Adding a title
Related sample: ColorPicker