README
Only available for Web with CSS
Get Started
yarn add @vaicar/ui
Please, check storybook and stories.js files to see the components you can import.
Import modules
import {
View,
DatePicker,
Form,
Button,
Text,
properties // contains all design system constraints
} from '@vaicar/ui'
Import stylesheet
All the components styles is in one single file. Some components contains it's own style.
import '@vaicar/ui/dist/web.css'
You also need to import
Contribute
Send small PRs and create issues to open discussion.
TODO
- Check if we can use a mono repo to maintain ui elements for RN, Web, CSS Utils, and JS Utils stuff related only to VAI
and it's a good idea to share accross projects and teams.
- Today we bundle all components into a single JS and CSS file, we should allow each component to be imported uncompiled, or pre-built
@vaicar/ui/web/DatePicker
@vaicar/ui/native/DatePicker