How to use the antd-mobile-rn.Toast.fail function in antd-mobile-rn

To help you get started, we’ve selected a few antd-mobile-rn examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github gyxing / react-native-book / app / containers / Detail.js View on Github external
onError: () => {
            Toast.fail('缺乏资源,无法阅读', 1)
          },
        })
github gyxing / react-native-book / app / containers / Read.js View on Github external
Linking.canOpenURL(url).then(supported => {
      if (!supported) {
        Toast.fail("此链接打不开");
      } else {
        return Linking.openURL(url);
      }
    }).catch(err => Toast.fail("An error occurred:" + url));
  };
github gyxing / react-native-book / app / containers / Read.js View on Github external
    }).catch(err => Toast.fail("An error occurred:" + url));
  };

antd-mobile-rn

基于蚂蚁金服移动设计规范的 React Native 组件库

MIT
Latest version published 5 years ago

Package Health Score

67 / 100
Full package analysis