import { MaterialIcons } from "@expo/vector-icons"; import { View } from "react-native"; import { BaseToast, BaseToastProps, SuccessToast, } from "react-native-toast-message"; export const Colors: any = { light: { text: "#000", back: "#ffffff", }, dark: { text: "#ffffff", back: "#2B2D2E", }, default: "#3498db", info: "#3498db", success: "#07bc0c", warn: { background: "#ffffff", text: "black", iconColor: "#f1c40f", }, error: { background: "#ffffff", text: "black", iconColor: "#e74c3c", }, textDefault: "#4c4c4c", textDark: "black", }; export const toastConfig = { success: (props: BaseToastProps) => ( ( )} /> ), default: (props: BaseToastProps) => ( ( )} /> ), info: (props: BaseToastProps) => ( ( )} /> ), warn: (props: BaseToastProps) => ( ( )} /> ), error: (props: BaseToastProps) => ( ( )} /> ), };