Storybook: hide 'show code' button inside an Angular project

790 views Asked by At

Do you know if is possible to remove the 'show code' button below the component? because the output it's weird. I am using the package '@storybook/addon-docs'

enter image description here

1

There are 1 answers

0
obotezat On

You could set docs > source > code to null like so:

export const StoryX= StoryXTemplate.bind({})
StoryX.parameters = {
  docs: {
    source: {
      code: null
    }
  }
}