test-bcc-design-system
v0.0.7
Published
This guide will help you render components and applications with React Native for Web.
Downloads
18
Readme
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.