react-mobile-message 移动端react的消息弹层组件. 使用 import "react-mobile-message/assets/toast.css"import "react-mobile-message/assets/modal.css"import {toast, alert, confirm} from '../src/index.jsx';toast('测试toast消息测试toast消息');alert({ title : function(){ let styleObj = {color : 'red'}; return (<span style={styleObj}>测试一下title</span>); }, animation : 'opacity'}); 预览 点击查看demo License Copyright (c) 2016 Cao Ren under the MIT License.