Skip to content
New issue

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

Storybook emits prop type warning for tertiary and ghost danger buttons #7211

Closed
emyarod opened this issue Nov 3, 2020 · 0 comments · Fixed by #7212
Closed

Storybook emits prop type warning for tertiary and ghost danger buttons #7211

emyarod opened this issue Nov 3, 2020 · 0 comments · Fixed by #7212

Comments

@emyarod
Copy link
Member

emyarod commented Nov 3, 2020

Detailed description

Related #7087

Describe in detail the issue you're having.

When running storybook in dev mode, storybook emits warnings for invalid prop types in the ghost danger button:

Warning: Failed prop type: Invalid prop `kind` of value `danger-ghost` supplied to `Button`, expected one of ["primary","secondary","danger","ghost","danger--primary","danger--tertiary","danger-tertiary","tertiary"].
    in Button

Additional information

image

@emyarod emyarod self-assigned this Nov 3, 2020
@emyarod emyarod changed the title Storybook emits prop type warning for tertiary danger buttons Storybook emits prop type warning for tertiary and ghost danger buttons Nov 3, 2020
@kodiakhq kodiakhq bot closed this as completed in #7212 Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant