pass-props-to

v0.0.3arrow_drop_down
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
16
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
664 B
passPropsTo Pass some props to this.props.children
1 contributor
Install pass-props-to as a package?
Copied
npm i @bit/ashwani18.shared-ui-components.utils.pass-props-to
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right
utils/passPropsTo (
children,
props:object
)

passPropsTo Pass some props to this.props.children

Arguments
children

React children to pass props to

props: object

to pass to children

Help and resources