New
NextJS, SvelteKit, Remix and the future of StorybookAutomate with Chromatic
Star75,387
Back to integrations
Add your integration
Categories
  • ⭐️ Popular
  • 🧩 Essentials
  • 🛠 Code
  • ⚡️ Data & state
  • ✅ Test
  • 💅 Style
  • 🎨 Design
  • ⚙️ Appearance
  • 🗄 Organize
How to install addons Create an addon
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
Last updated about 1 year ago
1
Downloads per week
Readme View on GitHub

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.

Join the community
5,862 developers and counting
WhyWhy StorybookComponent-driven UI
Open source software
Storybook

Maintained by
Chromatic
Special thanks to Netlify and CircleCI