14 lines
249 B
TypeScript
14 lines
249 B
TypeScript
import { toast } from "sonner-native"
|
|
|
|
export function showToast(message: string) {
|
|
toast(message)
|
|
}
|
|
|
|
export function showError(message: string) {
|
|
toast.error(message)
|
|
}
|
|
|
|
export function showSuccess(message: string) {
|
|
toast.success(message)
|
|
}
|