Skip to content

bllago/antd-styled

Repository files navigation

antd-styled

AntdD + styled system. Extended antd components with additional style properties

NPM JavaScript Style Guide

Install

npm install --save antd-styled

Usage

import React, { Component } from 'react'

import MyComponent from 'antd-styled'
import 'antd-styled/dist/index.css'

class Example extends Component {
  render() {
    return <MyComponent />
  }
}

StoryBook

https://bllago.github.io/antd-styled/

Deploy Storybook changes to GitPages

Switch to root directory, then push changes and deploy it to GitPages:

git add . && git commit -m 'Commit message...' && git push && npm publish && npm run deploy-storybook

Playground

Switch to root directory and run project:

npm start

Then switch to playground directory "example" and run project:

npm start

Then switch back to root directory and run storybook :

npm run storybook

License

MIT © alexpassss