whitespace-se / storybook-addon-html

A Storybook addon that extracts and displays compiled syntax-highlighted HTML
Other
95 stars 44 forks source link

feat: add `paramKey` property to panel object. #120

Closed jiwoo-choi closed 6 months ago

jiwoo-choi commented 6 months ago

Description

Add the paramKey property when registering the pannel. This allows users to disable the add-on per a story file or globally.

example

// preview.js
parameters : {
   html: {
      disable: true, // disable HTML pannel.
   }
}

reference

related

27

105