nicastelo / mc-components

Components library and core styles for Masterclass

Home Page:https://yankaindustries.github.io/mc-components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MasterClass Components

NPM version CircleCI Build status: Linux Dependency Status

mc-components aims to provide primitive components to build user interfaces in MasterClass

Installation

yarn add mc-components or npm install mc-components --save

Usage

  • Import MasterClass Components Stylesheet in your styles.scss file
@import '../node_modules/mc-components/lib/styles/index';
  • Import a component
import { Button } from 'mc-components'

const Container = () =>
  <Button primary>Hello</Button>

Development

  1. Clone the repository
  2. Install dependencies: yarn
  3. Start the storybook: yarn storybook

Documentation

All documentation is handled in storybook. To deploy a new version of the styleguide, run the following command from the root directory:

npm run deploy-storybook

About

Components library and core styles for Masterclass

https://yankaindustries.github.io/mc-components


Languages

Language:CSS 52.1%Language:JavaScript 47.8%Language:HTML 0.1%