Developing a React component with Storybook

Note: this documentation is for a beta release of Caplin Trader 5. Features may change before the final release.

This page provides instructions for developing a React component using the Storybook UI editor.

Contents:

Starting Storybook

To start Storybook, follow the instructions below:

  1. From the root directory of your application, run the command below:

    npm run storybook
  2. Open Google Chrome and navigate to http://localhost:6006

Using Storybook

For more information on using Storybook, see the documentation on the Storybook website.