We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The following input:
import React, { forwardRef } from 'react'; interface ButtonProps { variant?: 'small' | 'large'; disabled?: boolean; children: React.ReactNode; } export const Button = forwardRef<HTMLButtonElement, ButtonProps>(function Button( { disabled = false, variant = 'small', children }, ref ) { return ( <button type="button" disabled={disabled} ref={ref}> {children} {variant} </button> ); });
Produces:
{}
It's come up several times in Storybook: storybookjs/storybook#8894 and storybookjs/storybook#9511
Filed from storybookjs/storybook#24165
The text was updated successfully, but these errors were encountered:
I had to turn off docgen in storybook due to this bug. It keeps throwing errors and even my imports get hosed.
Sorry, something went wrong.
No branches or pull requests
The following input:
Produces:
It's come up several times in Storybook: storybookjs/storybook#8894 and storybookjs/storybook#9511
Filed from storybookjs/storybook#24165
The text was updated successfully, but these errors were encountered: