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

react-ripple does not contain styles #172

Closed
eric-zeng opened this issue Jul 24, 2018 · 2 comments
Closed

react-ripple does not contain styles #172

eric-zeng opened this issue Jul 24, 2018 · 2 comments
Labels
help wanted Extra attention is needed in-tracker

Comments

@eric-zeng
Copy link

Getting this error when attempting to follow the example for react-ripple:

Uncaught Error: Cannot find module '@material/react-ripple/index.scss'

Looks like neither index.scss nor dist/ripple.css exists in the react-ripple npm package.

screen shot 2018-07-24 at 12 59 12 am

@moog16
Copy link

moog16 commented Jul 24, 2018

@eric-zeng you're right - we missed adding the index.scss file for ripple. In our screenshot tests we actually import the sass from material-web.

As a work around until we release again, you should be able to import the sass like so:

@import "@material/ripple/common";
@import "@material/ripple/mixins";

@moog16
Copy link

moog16 commented Aug 28, 2018

closing: #251

@moog16 moog16 closed this as completed Aug 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed in-tracker
Projects
None yet
Development

No branches or pull requests

3 participants