Nebulous Puffy Marshmallows

    enzyme-styleguidist-sample-parser

    0.1.12 • Public • Published

    enzyme-styleguidist-sample-parser

    Write generic React component samples - run jest/enzyme tests and generate react-syleguidist examples

    Example Usage:

    /samples/MyComponent.js

    const containerStyle = {
      component: MyComponent,
      props: { style: { backgroundColor: "#071" } },
      enzyme: {
        tests: {
          shallow: { snapshot: snapShot() }
        }
      }
    };

    Keywords

    none

    Install

    npm i enzyme-styleguidist-sample-parser

    DownloadsWeekly Downloads

    13

    Version

    0.1.12

    License

    MIT

    Last publish

    Collaborators

    • gregor71