Open sastan opened 6 years ago
Problem description:
Currently all props are passed to React.cloneElement. If options.cloneElement may be a function it could control how to clone an element and which props are passed down.
props
React.cloneElement
options.cloneElement
Problem description:
Currently all
props
are passed toReact.cloneElement
. Ifoptions.cloneElement
may be a function it could control how to clone an element and which props are passed down.