Feature request: Allow label for `options` bindings?
Rather than always have to see the actual values for a multi-value selection, it'd be great if one could specify per-value labels. Maybe along the lines of this:
const colorPicker = useControls({
options: [
{ value: '#f00', label: 'red' },
{ value: '#0f0', label: 'green' },
{ value: '#00f', label: 'blue' }
],
value: '#f00'
});
In my current use case I actually want the values to be JavaScript function objects, and I want to make human-readable labels for them.
Want to make a PR @danfuzz ?
@gsimone Thanks for the vote of confidence! For context, I found my way here as a user of a downstream tool (Replicad), and I'm mostly a low-ish-level back-end developer. I took a quick look at the source, and unfortunately I'm not confident I could get this done in a timely fashion given my other commitments.