在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):tleunen/react-mdl开源软件地址(OpenSource Url):https://github.com/tleunen/react-mdl开源编程语言(OpenSource Language):CSS 69.7%开源软件介绍(OpenSource Introduction):React-MDLDeprecation noticeThis library is now deprecated. It's higly recommended to use Material Design Components instead. DescriptionReact-MDL is a set of React components build on top of Material Design Litev1.2.1 RequirementsInstead of using the official <link rel="stylesheet" href="material.css">
<script src="material.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> Create React AppThe above instructions won’t work if you use Create React App with <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> Then add these lines to import 'react-mdl/extra/material.css';
import 'react-mdl/extra/material.js'; Installation
UsageYou can use React-MDL through a bundler like webpack or browserify by importing import { Button, Card, CardText } from 'react-mdl';
// or...
import Button from 'react-mdl/lib/Button';
import { Card, CardText, CardActions } from 'react-mdl/lib/Card'; Alternatively, you can include const { Button, Card, CardText } = ReactMDL; For a listing of available components, as well as specific usage information, check out the Components page on the website. Some extra components can be found in the react-mdl-extra package. LicenseMIT, see LICENSE.md for details. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论