文件名称:md-components:材料设计React组件
文件大小:3.24MB
文件格式:ZIP
更新时间:2024-02-23 22:58:44
react material-design react-components google-material MaterialdesignJavaScript
md-components 安装 $ npm install --save md-components 用法 /js/index.js import React from 'react' import ReactDOM from 'react-dom' import { Shell } from 'md-components' class App extends React . Component { render ( ) { return ( < Shell title = 'my app'> < div> hello world < / div > < / Shell > ) } } ReactDOM . render ( < App> , document . getElementById ( 'root' ) ) /css/index.scss @import " ../node_modules/md-components/css/base " ; 字型 “ Roboto”字体必须单独提供,并且不是