Storybook, Typescript, React, Vue, Svelte.
facilitate this, we have also created a StoryObj type, which automatically infers the type of component props. Provide the component type (e.g., typeof Button) as a generic parameter. Alternatively, if your renderer is class-based—such as Svelte, Angular, or Web Components—you can just use the