tleunen / react-mdl

React Components for Material Design Lite
https://tleunen.github.io/react-mdl/
MIT License
1.76k stars 255 forks source link

Cell and Grid shadow option doesn't work ? #314

Closed be-next-hotdog closed 8 years ago

be-next-hotdog commented 8 years ago

Hi, ss I said on the topic, anyone met the same prob as mine ?

Thx a lot.

tleunen commented 8 years ago

Looks like shadow={3} doesn't work, but the others seem to be fine.

You can see in this file we only accept a number from 0 to 6 (included): https://github.com/tleunen/react-mdl/blob/master/src/utils/shadows.js

Also, currently the prop value doesn't match the real shadow value, this should be improved (and add the missing values (see https://github.com/google/material-design-lite/blob/master/src/shadow/_shadow.scss)