-
Notifications
You must be signed in to change notification settings - Fork 24
Closed
Description
When using the useTweaks
hook, I'm getting an error about the return types. The return type looks to be an object with a single key that is an empty string?
const {
numCirclesPerGroup,
circleGap,
innerCircleRadius,
numGroups,
} = useTweaks({
numCirclesPerGroup: { value: 12, min: 1, max: 40, step: 1 },
circleGap: { value: 2, min: 0, max: 100, step: 1 },
innerCircleRadius: { value: 20, min: 1, max: 100, step: 1 },
numGroups: { value: 6, min: 2, max: 90, step: 1 },
})
// Property 'innerCircleRadius' does not exist on type '{ "": { numCirclesPerGroup: ....
See this sandbox https://codesandbox.io/s/jovial-lamport-8c4u3?file=/src/App.tsx
mysterybear, unphased and peterobbin
Metadata
Metadata
Assignees
Labels
No labels