Support for `render` prop on the composed component
ctrlplusb opened this issue ยท 2 comments
ctrlplusb commented
Would you be open to the supporting a render
prop as well as the current children
prop for providing the rendering function?
const Composed = adopt(...);
<Composed render={({ greet, name }) => <div>{greet} {name}</div>} />
pedronauck commented
Sure @ctrlplusb, great idea ๐
I released this feature on v0.5.1 ๐
ctrlplusb commented
Awesome ๐