bhishp / storybook-forms

A storybook decorator that allows you to use components in your stories that rely on a Form library.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

storybook-forms

Monorepo of storybook decorators that allow you to use components in your stories that rely on a Form state-management library.

This Repo consists of three packages:

Misc notes/gotchyas

Only one decorator can be included at a time. Currently, the core package sets the storybook panel data (such as PANEL_ID), and channel IDs too This means that you cannot include two types of the decorator within the same storybook configuration at the same time.

The Formik interface is prioritised when it comes to similarly-named symbols. The Formik addon was the first one created, therefore, this project has a stronger influence from that library. This means that the core Panel expects to map to isValidating (formik) rather than validating (final-form).

About

A storybook decorator that allows you to use components in your stories that rely on a Form library.

License:MIT License


Languages

Language:TypeScript 99.1%Language:JavaScript 0.9%