0.1.1 • Published 4 years ago
@wcancer/design-system
Licence
MIT
Version
0.1.1
Deps
13
Size
220 kB
Vulns
0
Weekly
0
Design, build, and create with WeCancer’s design system.
Live demo
·
Request feature
Install
NPM:
npm install @wcancer/design-system
Yarn:
yarn add @wcancer/design-system
Usage
Before starting to use the Design System, you must add the WecancerProvider provider at the beginning of your application.
import React from 'react'
import { WecancerProvider, Button } from '@wcancer/design-system'
function App() {
return (
<WecancerProvider>
<Button primary>Submit</Button>
</WecancerProvider>
)
}
Contributing
You need the nodejs and yarn instaled on your device to run this project in development.
Run the project
Run the command below to install the dependencies:
yarn
Now, you can run the project demo to explorer the Design System components. Run the command:
yarn run demo