0.1.3 • Published 5 years ago
ippai-ui v0.1.3
Ippai UI
This library aims to share common UI components between Ippai products.
Running and using ippai-ui
yarn add ippai-ui
- Importing components whenever you want
import Component from 'ippai-ui/src/components/Component'
- Happy coding 🎉🙌
Available Components
Landing Header
The purpose of this component is to add a usefull landing header.
It can be imported as follows:
import IpLandingHeader from 'ippai-ui/src/components/IpLandingHeader'
The props that it supports are:
- top-color:
transparent
by default. - color:
white
by default. It will be the color of the background once the header is scrolled. - offset:
100
by default. It will be the height in which the color will be triggered.