Skip to content

rakannimer/render-and-add-props

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published