cdd-storybook-example-library

1.0.4 • Public • Published

[원티드 프리온보딩 챌린지 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

/cdd-storybook-example-library/

    Package Sidebar

    Install

    npm i cdd-storybook-example-library

    Weekly Downloads

    1

    Version

    1.0.4

    License

    MIT

    Unpacked Size

    9.94 MB

    Total Files

    87

    Last publish

    Collaborators

    • coyo-hm