TanStackT
TanStack6mo ago
7 replies
nursing-lime

how to get object props in withForm(with type safetey)

I am trying to split my code.
So I have a product variants array. And each variant contain options array.
So in OptionList component I am trying to get variantField as a props. But it's giving type issue.
How can I overcame it?

Thank You
image.png
Was this page helpful?