A storybook addon to test pseudo styles for your stories.
npm install sudo-pseudo
Downloads per week
Readme View on GitHub
A storybook addon to view pseudo classes in your stories
This Storybook addon allows you to test pseudo classes using class names without having to rewrite your existing stylesheets. Currently it supports:
- Install this plugin
main.jsfile for storybook.
- Now you can configure any component to show a pseudo state using class names like
yarn startruns babel in watch mode and starts Storybook
yarn buildbuild and package your addon code