RnMultibundler/src/common/ToastHelper.ts
xuqm 4c54e8ba98 refactor: 更新 Android 资源保留策略
- 移除不再使用的 React Native 新应用屏幕相关资源
- 添加新的二维码扫描图标资源
2025-07-15 14:47:02 +08:00

11 行
298 B
TypeScript

import Toast from 'react-native-toast-message';
import { ToastType } from 'react-native-toast-message/lib/src/types';
export const showMessage = (message: string, type?: ToastType, message2?: string) => {
Toast.show({
type: type??'success',
text1: message,
text2: message2,
});
};