Coder Social home page Coder Social logo

openumbrella / react-native-root-tips Goto Github PK

View Code? Open in Web Editor NEW
91.0 91.0 16.0 3.75 MB

very simple and powerful way to show a toast in react-native

License: MIT License

JavaScript 77.56% Starlark 3.66% Java 5.12% Ruby 5.69% Objective-C 7.97%
android ios react-native tips toast-message

react-native-root-tips's People

Contributors

dependabot[bot] avatar gdoudeng avatar openumbrella avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-native-root-tips's Issues

duration 设置无效

componentDidUpdate(prevProps, prevState) {
    if (prevProps.user.message !== this.props.user.message) {
      if (!!this.props.user.message) {
        const msg = this.props.user.message;
        Tips.show(msg, { duration: 4000 });
      }
    }
  }

使用 api 调用,设置duration为4s,但是提示还是一闪而过,真机Android7.1.1 小米6,这是Bug吗,还是我使用方式不对?

跟react-native-root-siblings冲突

如果我自己安装了react-native-root-siblings ,会跟本组件引用的react-native-root-siblings冲突,建议删除本地引用,改成说明,手动去引用

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.