polaris

v1.0.0arrow_drop_down
v1.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.
2 contributors
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
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
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
NameTypeDefault value
children
{}{}
config
{}{ css_prefix: 'polaris', }
Help and resources