Skip to content

Add Controls and Viewport addons to Storybook #37

Description

@GBKS

The Viewport addon makes it easy to see the components inside smartphone-sized layouts.

The Controls addon allows you to define properties of the component that can then be easily edited via the Storybook UI. For example, the bitcoin amount on the homescreen can be a property. You'd see a numerical input field in the Storybook UI, and changing it there would push the new amount into the live component where it would instantly re-render. This is super convenient to test component states.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions