This is a situation I faced while working on https://kentcdodds.com and thought you all would find it interesting!
Codesandbox: https://codesandbox.io/s/yjrnvmroy1
Download
0 formats
No download links available.
Accepting and cloning a react element as a prop | NatokHD