← React Intermediate Questions - Set 12 Q118
React Intermediate Questions - Set 12
1 2
<Layout>{children}</Layout> // render as given React.cloneElement(child, { extra: 1 }) // copy with new props