addon-smart-knobs icon indicating copy to clipboard operation
addon-smart-knobs copied to clipboard

Smart Knobs with Stencil Components?

Open justindasilva opened this issue 6 years ago • 0 comments

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.

justindasilva avatar Aug 07 '19 20:08 justindasilva