Reputation: 1895
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'
Upvotes: 1
Views: 947
Reputation: 1135
You could set docs > source > code to null
like so:
export const StoryX= StoryXTemplate.bind({})
StoryX.parameters = {
docs: {
source: {
code: null
}
}
}
Upvotes: 2