Open dartess opened 3 years ago
OK:
<ReactIdSwiper> <div /> <div /> <div /> </ReactIdSwiper>
<ReactIdSwiper> {[1,2,3].map(() => ( <div /> ))} </ReactIdSwiper>
FAIL:
<ReactIdSwiper> <div /> {[1,2,3].map(() => ( <div /> ))} </ReactIdSwiper>
TS2739: Type 'Element[]' is missing the following properties from type 'ReactElement ReactElement Component )> | null) | (new (props: any) => Component )>': type, props, key
OK:
OK:
FAIL: