@storybook/addon-centered

  • Version 5.3.21
  • Published
  • 27.8 kB
  • 4 dependencies
  • MIT license

Install

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

Overview

Storybook decorator to center components

Index

Functions

Functions

function Centered

Centered: (...args: any) => any;

    Package Files (1)

    Dependencies (4)

    Dev Dependencies (5)

    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-centered.

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