0.5.0 • Published 6 years ago
render-and-add-props v0.5.0
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'
})
}