0.9.0 • Published 3 years ago

rds-design-system v0.9.0

Weekly downloads
16
License
ISC
Repository
-
Last release
3 years ago

rds-design-system

Available Scripts

In the project directory, you can run:

yarn start

Runs Storybook. Web page will open automatically.

yarn test

Launches the test runner in the interactive watch mode. See the section about running tests for more information.

yarn build

Builds the package for production to the dist folder.

Install package

Installing the built package to a React application:

npm install rds-design-system

or if you are using yarn

yarn add rds-design-system

Adding Button component

  • Create a new react application
    npx create-react-app my-app
    cd my-app
    npm install rds-design-system
  • Open in IDE
  • In the App.js file:
    • add import { Button } from 'rds-design-system';
    • remove everything inside `'
    • add <Button>Primary</Button>

The add the following (optional) attributes to the Button element:

  • kind={'secondary'} to render secondary button ('primary' is default)
  • size={'small'} to render a small
  • disabled={true} to disable the button
0.9.0

3 years ago

0.8.11

3 years ago

0.8.9

3 years ago

0.8.10

3 years ago

0.8.8

3 years ago

0.8.7

3 years ago

0.8.5

3 years ago

0.8.4

3 years ago

0.8.6

3 years ago

0.8.3

4 years ago

0.8.2

4 years ago

0.8.1

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.8

4 years ago

0.5.7

4 years ago

0.5.6

4 years ago

0.5.5

4 years ago

0.5.4

4 years ago

0.5.3

4 years ago

0.5.0

4 years ago

0.5.2

4 years ago

0.5.1

4 years ago

0.4.0

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago