0.2.16 • Published 2 years ago
@centrapass/component-library v0.2.16
CentraPass Component Library
Helper components to build CentraPass frontends
Storybook
Can be used to try out the components and even generate code for certain configs. Install using yarn
and then run storybook using yarn storybook
Usage
CentraPassContext
This context is used to set the configuration all CentraPass Components will use such as the primary colour and secondary colour and other project wide customisations such as Button component styles. It can be used as follows:
<div>
<CentraPassProvider theme={{
primaryColor: "blue"
}}>
<LiveSelfie height={300} onComplete={(value)=>console.log(value)}/>
</CentraPassProvider>
</div>
Examples
Examples are in the examples
folder and can be used as a starting point for your use of the library
0.2.16
2 years ago
0.2.15
2 years ago
0.2.14
3 years ago
0.2.12
3 years ago
0.2.11
3 years ago
0.2.10
3 years ago
0.2.9
3 years ago
0.2.8
3 years ago
0.2.7
3 years ago
0.2.6
3 years ago
0.2.5
3 years ago
0.2.4
3 years ago
0.2.2
3 years ago
0.2.1
3 years ago
0.2.0
3 years ago
0.1.4
3 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago