view_component-storybook icon indicating copy to clipboard operation
view_component-storybook copied to clipboard

Support adding descriptions to controls.

Open by-robots opened this issue 3 years ago • 1 comments

Controls are now able to be given a custom description to provide better context when viewing Storybook.js documentation.

Adding a description works in the same way as adding a custom name for the control — it can be set when initializing the control or by calling the description method on the instance.

by-robots avatar Jul 26 '22 16:07 by-robots

This is really awesome work. A couple of suggestions and need for slightly more specs and this would be ready to go.

Thanks, @jonspalmer — I'll sort those changes shortly :)

by-robots avatar Aug 03 '22 08:08 by-robots

Great work sorry it took so long to merge this.

jonspalmer avatar Dec 10 '22 12:12 jonspalmer