Hi, I am migrating from sb6.5 to sb7.2.
I am trying to reuse the same argTypes definition I had, but I noticed that something changes, like the pre announced deprecation of the default value.
I moved from plain JS to TS, but this shouldn't really matter.
What is puzzling me is that I am getting the following docs (see image 1).
But in my argTypes definition I have set the control as boolean, and even the value type, which I am not clear of it's intended purpose.
My argTypes in storybook story definition:
argTypes: { pill: { value: { type: "boolean" }, control: "boolean", description: "<p>Add the <code class=\"language-text\">pill</code> modifier to make badges more rounded with\nsome additional horizontal padding</p>" } }
My component src extract:
`[...]
export interface BadgeProps {
pill?: boolean;
bg?: string;
children?: any;
}
export function Badge (props: React.PropsWithChildren<BadgeProps>) {
const badgeProps:any = Object.assign({}, props);
[...]`
My main.ts has the following configuration:
docs: { autodocs: "tag", },
In version 6.5, the description column didn't have this value, so I can't really compare with my current version.
Thank you in advance