Hi! I'm new to storybook and I have some problems with creating Docs and Controls. I read off docs and watched different videos, but didn't find an answer.
I want to add some "markup" to description. For example, to see smth like on first screenshot.
But i got smth terrible (2nd screen)
My code:
size: {
options: ['small', 'medium'],
control: 'inline-radio',
type: 'string',
defaultValue: { summary: 'medium' },
description: sizeInfo
}
export const sizeInfo = `
The medium button
\`
padding: 20px;
min-height: 64px;
\`
The small button
\`
padding: 4px 16px;
max-width: 180px;
min-height: 50px;
\`
`;
I tried with interfaces, with PropsTypes and nothing works