Skip to content
This repository was archived by the owner on Jan 5, 2023. It is now read-only.

Smart Knobs with Stencil Components? #58

@justindasilva

Description

@justindasilva

I've used https://www.npmjs.com/package/stencil-storybook-wrapper to put storybook into my stencil app.

I'm hoping to be able to add Smart Knobs to my stencil components. Will it work with Stencil?

I tried this a couple weeks ago and didn't have any luck.

Was talking to someone who had this to say:

As the readme says it works on "proptypes and flow" and needs the docgen babel plugin for react which means its cant be used for Stencil. But since Stencil is based on TS and we can easily create definition file (.d.ts) we should be able to use a similar approach to create stencil knobs plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions