polaris
v1.0.0arrow_drop_downv1.0.0
v0.0.1
STATUS
Passing
DOWNLOADS
1,256
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
6 years ago
SIZE
4 KB
Creates a Context Provider which will pass props to child components.
Like
Install polaris as a package?
Copied
npm i @bit/dennisdigital.components.protons.polaris
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
PolarisApp ()
Creates a Context Provider which will pass props to child components.
Create Context for our component library to pass on additional props
Higher Order Component which wraps the consumer context on the wrapped component.
Properties
Name | Type | Default value |
---|---|---|
children | {} | {} |
config | {} | {
css_prefix: 'polaris',
} |