Mohammad Asif cf937194cb Removed un-waned things 1. vor 6 Monaten
..
dist cf937194cb Removed un-waned things 1. vor 6 Monaten
README.md cf937194cb Removed un-waned things 1. vor 6 Monaten
jest.config.js cf937194cb Removed un-waned things 1. vor 6 Monaten
manager.js cf937194cb Removed un-waned things 1. vor 6 Monaten
package.json cf937194cb Removed un-waned things 1. vor 6 Monaten
preview.js cf937194cb Removed un-waned things 1. vor 6 Monaten

README.md

Storybook Addon Backgrounds

Storybook Addon Backgrounds can be used to change background colors inside the preview in Storybook.

Framework Support

React Storybook Screenshot

Installation

Backgrounds is part of essentials and so is installed in all new Storybooks by default. If you need to add it to your Storybook, you can run:

npm i -D @storybook/addon-backgrounds

Configuration

Then, add following content to .storybook/main.js:

export default {
  addons: ['@storybook/addon-backgrounds'],
};

Usage

The usage is documented in the documentation.