UNPKG

@equinor/mad-toast

Version:

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

16 lines (15 loc) 1.22 kB
import { MasterToken, WithoutThemeOptionValues } from "@equinor/mad-components"; import { ToastType } from "../types"; export declare const getToastTokenForType: (masterToken: WithoutThemeOptionValues<MasterToken>, type: ToastType) => WithoutThemeOptionValues<{ background: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; text: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; }> | WithoutThemeOptionValues<{ background: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; text: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; }> | WithoutThemeOptionValues<{ background: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; text: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; }> | WithoutThemeOptionValues<{ background: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; text: import("@equinor/mad-components").ColorSchemeValues<import("@equinor/mad-components").Color>; }>;