New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-mobile-message

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-mobile-message

> 移动端react的消息弹层组件. ## 使用 ```js 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 s

latest
Source
npmnpm
Version
2.1.0
Version published
Maintainers
1
Created
Source

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.

Keywords

react

FAQs

Package last updated on 04 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts