-
Notifications
You must be signed in to change notification settings - Fork 2
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]: Configuring ArgTypes filtering #282
Conversation
…der to get build through
…hese in its own PR
|
||
/** | ||
* Link color | ||
*/ | ||
@Input() color: 'primary-dark' | 'default' | 'white' = 'primary-dark'; | ||
@Input() color: 'default' | 'gray' | 'white' = 'default'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These color names originate from icon.component.scss
and this "breaks" external link (at least). I agree these are not intuitive names but let's do the name refactoring in a separate PR. I added a TODO comment for the class names and reverted your changes regarding on these.
|
||
export default { | ||
title: 'Components/Button', | ||
component: ButtonComponent, | ||
parameters: { | ||
docs: { | ||
argTypes: { | ||
exclude: buttonExclude, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason (similar to Dialog) this didn't work and readme ArgTypes needed the exclude. So I deleted this one and added the exclude in readme.
…om/funidata/fudis into DS-240-link-and-notification-check
BREAKING:
externalLink
Input renamed toexternal