GitHub - dimasbjg/designsystem · GitHub
Skip to content

dimasbjg/designsystem

 
 

Repository files navigation

Get started

This guide will help you render components and applications with React Native for Web.

If you're not familiar with setting up a new React web project, please refer to the React documentation.

Contributing

Please read our Contributing Guidelines to get started on developing.

This project is bound by a Code of Conduct.

Starter

Starter kit for React applications using React.

A nodejs >= 8.0.0 setup with yarn is recommended.

# install dependencies
yarn

# ...or if you'd like to use npm instead
npm install

# serve with hot reload at localhost:9009
yarn storybook

# build for production
yarn build

Example

// Example for `<Button />` component.
import React from 'react';
import { action } from '@storybook/addon-actions';
import { Button } from '@storybook/react/demo';

export default {
  title: 'Button',
  component: Button,
};

export const Text = () => <Button onClick={action('clicked')}>Hello Button</Button>;

Read the Storybook for more examples.

License

Copyright (c) 2018 bccdesignsystem and/or contributors. All rights reserved.

About

No description, website, or topics provided.

Resources

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

Contributors

Languages

  • TypeScript 96.6%
  • JavaScript 2.0%
  • CSS 1.4%