Closed gsimone closed 3 years ago
Right now tweakpane makes selects from an object like
{ options: { a: 0, b: 0, c: 0 } }
But I would like an api like this for useTweaks for simple cases
useTweaks({ option: ["a", "b", "c"] })
that would convert it to tweakpane's format.
Keep in mind that the value set by tweakpane is the key, not the value
Right now tweakpane makes selects from an object like
But I would like an api like this for useTweaks for simple cases
that would convert it to tweakpane's format.
Keep in mind that the value set by tweakpane is the key, not the value