How to use the @ant-design/react-native.Toast.info function in @ant-design/react-native

To help you get started, we’ve selected a few @ant-design/react-native 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 czy0729 / Bangumi / screens / SettingsScreen.js View on Github external
async componentDidMount() {
    await AsyncStorage.clear()
    await CacheManager.clearCache()
    userStore.setStorage('accessToken')
    userStore.setStorage('userInfo')
    Toast.info('AsyncStorage cleared')
  }
github czy0729 / Bangumi / utils / ui.js View on Github external
export function info(
  content = '网络错误',
  duration = 2.4,
  onClose = Function.prototype,
  mask = false
) {
  Toast.info(content, duration, onClose, mask)
}

@ant-design/react-native

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

MIT
Latest version published 2 days ago

Package Health Score

81 / 100
Full package analysis