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

One case it didn't pick up #1

Open
rinti opened this issue Jan 21, 2021 · 1 comment
Open

One case it didn't pick up #1

rinti opened this issue Jan 21, 2021 · 1 comment

Comments

@rinti
Copy link
Member

rinti commented Jan 21, 2021

    const classes = classNames('Button', {
        'Button--Link': link,
        [`Button--${type}`]: type,
        [`Button--${size}`]: size,
        [`Button--Icon`]: icon,
    });

Became

    const classes = classNames(styles["Button"], {
        [styles["Button--Link"]]: link,
        [`Button--${type}`]: type,
        [`Button--${size}`]: size,
        [`Button--Icon`]: icon,
    });
@rinti
Copy link
Member Author

rinti commented Jan 21, 2021

One more:

    const itemClass = classNames('ListModule__Item', {
        'CardList__Item--Link': href,
    });

->

    const itemClass = classNames(styles["ListModule__Item"], {
        'CardList__Item--Link': href,
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant