vinpac / windstitch

Windstitch is a 1.4kB, Simple Styling Library that helps you set when a className should be applied to a component.
https://windstitch.vercel.app
MIT License
255 stars 6 forks source link

Type Error when using key prop #20

Closed edutoledoo closed 1 year ago

edutoledoo commented 1 year ago

The problem occurs when I have to map items where each item must have a unique key and that element has a child element, I get the typescript error as you can see in the example below:

image

If I dont pass key prop works fine:

image

My component:

image