Closed efoken closed 1 year ago
Thanks for your PR, that looks great! we just need to add some tests and we'd be ready for release๐
Okay, I added one test in render.test.js
, do we need more?
that will be enough
@UpperCod can you merge this? I would like to use this for work, we are currently building a complex DatePicker package, so this would be useful ๐
I will release it today, so you can try it tomorrow
I added the check below
let raw
to avoid checkingtype.prototype instanceof HTMLElement
twice. So when it is not an instance of HTMLElementraw
equalsfalse
.TypeScript for component props in JSX is already working without any changes ๐