This repository was archived by the owner on Jul 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Expand file tree Collapse file tree 4 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ Component | Spec | MDC Web
34
34
[ Radio] ( ./packages/radio ) | [ Radio Design Page] ( https://material.io/design/components/selection-controls.html#radio-buttons ) | [ MDC Radio] ( https://github.com/material-components/material-components-web/tree/master/packages/mdc-radio )
35
35
[ Ripple] ( ./packages/ripple ) | [ Ripple Design Page] ( https://material.io/design/interaction/states.html ) | [ MDC Ripple] ( https://github.com/material-components/material-components-web/tree/master/packages/mdc-ripple )
36
36
[ Select] ( ./packages/select ) | [ Select Design Page] ( https://material.io/design/components/menus.html# ) | [ MDC Select] ( https://github.com/material-components/material-components-web/tree/master/packages/mdc-select )
37
+ [ Snackbar] ( ./packages/snackbar ) | [ Snackbar Design Page] ( https://material.io/design/components/snackbars.html ) | [ MDC Snackbar] ( https://github.com/material-components/material-components-web/tree/master/packages/mdc-snackbar )
37
38
[ Switch] ( ./packages/switch ) | [ Switch Design Page] ( https://material.io/design/components/selection-controls.html#switches ) | [ MDC Switch] ( https://github.com/material-components/material-components-web/tree/master/packages/mdc-switch )
38
39
[ Tab] ( ./packages/tab ) | [ Tabs Design Page] ( https://material.io/design/components/tabs.html ) | [ MDC Tab] ( https://github.com/material-components/material-components-web/tree/master/packages/mdc-tab )
39
40
[ Tab Bar] ( ./packages/tab-bar ) | [ Tabs Design Page] ( https://material.io/design/components/tabs.html ) | [ MDC Tab Bar] ( https://github.com/material-components/material-components-web/tree/master/packages/mdc-tab-bar )
Original file line number Diff line number Diff line change 40
40
" linear-progress" ,
41
41
" list" ,
42
42
" menu-surface" ,
43
+ " menu" ,
43
44
" notched-outline" ,
44
45
" radio" ,
45
46
" ripple" ,
Original file line number Diff line number Diff line change @@ -14,11 +14,15 @@ npm install @material/react-menu
14
14
15
15
with Sass:
16
16
``` js
17
+ import ' @material/react-list/index.scss' ;
18
+ import ' @material/react-menu-surface/index.scss' ;
17
19
import ' @material/react-menu/index.scss' ;
18
20
```
19
21
20
22
with CSS:
21
23
``` js
24
+ import ' @material/react-list/dist/menu.css' ;
25
+ import ' @material/react-menu-surface/dist/menu.css' ;
22
26
import ' @material/react-menu/dist/menu.css' ;
23
27
```
24
28
Original file line number Diff line number Diff line change @@ -14,11 +14,17 @@ npm install @material/react-select
14
14
15
15
with Sass:
16
16
``` js
17
+ import ' @material/react-list/index.scss' ;
18
+ import ' @material/react-menu-surface/index.scss' ;
19
+ import ' @material/react-menu/index.scss' ;
17
20
import ' @material/react-select/index.scss' ;
18
21
```
19
22
20
23
with CSS:
21
24
``` js
25
+ import ' @material/react-list/dist/menu.css' ;
26
+ import ' @material/react-menu-surface/dist/menu.css' ;
27
+ import ' @material/react-menu/dist/menu.css' ;
22
28
import ' @material/react-select/dist/select.css' ;
23
29
```
24
30
@@ -62,7 +68,7 @@ class MyApp extends React.Component {
62
68
state = {value: ' pomsky' };
63
69
64
70
onEnhancedChange = (index , item ) => (
65
- this .setState ({value: item .getAttribute (' data-value' )});
71
+ this .setState ({value: item .getAttribute (' data-value' )})
66
72
);
67
73
68
74
render () {
You can’t perform that action at this time.
0 commit comments