Using Radix Select with objects
I am creating a Select component with Radix. I wanted to select from an array of objects of type
Does this make sense? Feels wrong ..
{unit: "minute" | "hour", value:number}. Seems like value always needs to be a string though. What I'm thinking of doing -Does this make sense? Feels wrong ..