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'
Asked
Active
Viewed 634 times
1
-
did you find a solution for the above query? – user1498069 Mar 28 '22 at 12:40
1 Answers
2
You could set docs > source > code to null
like so:
export const StoryX= StoryXTemplate.bind({})
StoryX.parameters = {
docs: {
source: {
code: null
}
}
}

obotezat
- 1,041
- 16
- 20