Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 364 Bytes

README.md

File metadata and controls

23 lines (16 loc) · 364 Bytes

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'
  })
}