@storybook/addon-viewport

  • Version 6.3.10
  • Published
  • 63.7 kB
  • 11 dependencies
  • MIT license

Install

npm i @storybook/addon-viewport
yarn add @storybook/addon-viewport
pnpm add @storybook/addon-viewport

Overview

Build responsive components by adjusting Storybook’s viewport size and orientation

Index

Variables

variable DEFAULT_VIEWPORT

const DEFAULT_VIEWPORT: string;

    variable INITIAL_VIEWPORTS

    const INITIAL_VIEWPORTS: ViewportMap;

      variable MINIMAL_VIEWPORTS

      const MINIMAL_VIEWPORTS: ViewportMap;

        Package Files (2)

        Dependencies (11)

        Dev Dependencies (0)

        No dev dependencies.

        Peer Dependencies (2)

        Badge

        To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

        You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@storybook/addon-viewport.

        • Markdown
          [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@storybook/addon-viewport)
        • HTML
          <a href="https://www.jsdocs.io/package/@storybook/addon-viewport"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>