mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
- Rename `introduction.md`, `overview.md`, `how-to-contribute.md` pages -> `index.md` pages - Add all-new `index.md` pages for Sharing and API - Find/replace `introduction.md`/`overview.md` -> `index.md` - Find/replace `/introduction`/`/overview` -> `/` - Add `hideRendererSelector: true` to frontmatter of (some) pages that aren't conditional on renderer
2.9 KiB
2.9 KiB
title | hideRendererSelector |
---|---|
API references | true |
An overview of all available API references for Storybook.
Configuration
Name | Description |
---|---|
main.js|ts |
Storybook's primary configuration file, which specifies your Storybook project's behavior, including the location of your stories, the addons you use, feature flags and other project-specific settings. |
preview.js|jsx|ts|tsx |
This configuration file controls the way stories are rendered. You can also use it to run code that applies to all stories. |
manager.js|ts |
This configuration file controls the behavior of Storybook's UI, the manager. |
CLI | Storybook is a CLI tool. You can start Storybook in development mode or build a static version of your Storybook. |
Stories
Name | Description |
---|---|
CSF | Component Story Format (CSF) is the API for writing stories. It's an open standard based on ES6 modules that is portable beyond Storybook. |
ArgTypes | ArgTypes specify the behavior of args. By specifying the type of an arg, you constrain the values that it can accept and provide information about args that are not explicitly set. |
Docs
Name | Description |
---|---|
Doc blocks | Storybook offers several doc blocks to help document your components and other aspects of your project. |