babel-plugin-storybook-addon-pseudo-states-emotion
This plugin allows using [storybook-addon-pseudo-states](https://github.com/Ergosign/storybook-addon-pseudo-states) with [emotion](https://emotion.sh/)
npm install babel-plugin-storybook-addon-pseudo-states-emotion
4
Downloads per week

Babel Plugin for Storybook Addon Pseudo States and Emotion.js

This plugin allows using storybook-addon-pseudo-states with emotion

Install

npm

nmp install babel-plugin-storybook-addon-pseudo-states-emotion --save-dev

yarn

yarn add babel-plugin-storybook-addon-pseudo-states-emotion --dev

Usage

{
  "plugins": ["storybook-addon-pseudo-states-emotion"]
}

Options

This plugin allows some configuration to support the certain features of storybook-addon-pseudo-states

{
  "plugins": [[
    "storybook-addon-pseudo-states-emotion", {
      "prefix": "pseudoclass--"
    }
  ]]
}

Copyright © 2021 Dekk. All rights reserved.