render-and-add-props
v0.5.0
Published
``` yarn add render-and-add-props ```
Downloads
8,097
Readme
Package meant for React Component Authors.
Installation
yarn add render-and-add-props
Usage
const { renderAndAddProps } = require('render-and-add-props');
// Or
import { renderAndAddProps } from 'render-and-add-props';
const App = ({children}) => {
return renderAndAddProps(children, {
'someMoreProps': 'Hau'
})
}