1.0.4 • Published 11 months ago

cdd-storybook-example-library v1.0.4

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

원티드 프리온보딩 챌린지 6월 cdd-storybook-example-library

스토리북을 이용한 컴포넌트 주도 개발 (Component-Driven Development)

개발 환경

  • npm
  • React
  • Styled-Component

Installation

BEFORE YOU INSTALL: please read the prerequisites

Start with cloning this repo on your local machine:

$ npm i cdd-storybook-example-library

Usage

import { Button } from "cdd-storybook-example-library";

const Example = () => {
    const [count, setCount] = useState(0);
    
    return  <Button
        label={`count is ${count}`}
        color={"black"}
        backgroundColor={"ivory"}
        onClick={() => setCount((count) => count + 1)}
    />
}

Docs

License

MIT License © Andrea SonnY

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago