UNPKG

@equinor/mad-toast

Version:

Toast package built on top of `react-native-toast-message`

9 lines (8 loc) 275 B
import React from "react"; import { ToastType } from "../types"; export type ToastComponentProps = { text: string; type: ToastType; onPress?: () => void; }; export declare const ToastComponent: ({ text, type, onPress }: ToastComponentProps) => React.JSX.Element;