This package has been deprecated

Author message:

This package is no longer maintained. See what we're doing today at https://github.com/microsoft/fast

@microsoft/fast-storybook-presets
TypeScript icon, indicating that this package has built-in type declarations

1.3.0 • Public • Published

FAST Storybook presets

A Storybook preset to bring consistency across FAST storybook implementations.

Installation

npm i @microsoft/fast-storybook-presets

Usage

In your projects .storybook directory, add .storybook/presets.js if it does not already exist. Then add @microsoft/fast-storybook-presets to the exported preset array:

module.exports = ["@microsoft/fast-storybook-presets"];

See preset documentation for more details on adding Storybook presets.

Options

The @microsoft/fast-storybook-presets can be configured with options. To configure the presets, adjust the preset include to resemble the following:

module.exports = [{
    name: "@microsoft/fast-storybook-presets",
    options: { /* add options here */ }
}]

designSystemAddon - Configure the design system addon

{
    enabled: true, // Includes the @microsoft/fast-storybook-design-system-addon
}

Readme

Keywords

none

Package Sidebar

Install

npm i @microsoft/fast-storybook-presets

Weekly Downloads

1

Version

1.3.0

License

MIT

Unpacked Size

22.7 kB

Total Files

20

Last publish

Collaborators

  • microsoft1es
  • fastsvc
  • eisenbergeffect
  • nirice
  • janechu
  • chrisdholt
  • awentzel