render-and-add-props
TypeScript icon, indicating that this package has built-in type declarations

0.5.0 • Public • Published

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

Dependencies (0)

    Dev Dependencies (6)

    Package Sidebar

    Install

    npm i render-and-add-props

    Weekly Downloads

    594

    Version

    0.5.0

    License

    MIT

    Unpacked Size

    3.65 kB

    Total Files

    8

    Last publish

    Collaborators

    • rakannimer