UNPKG

expo-toastee

Version:

A simple and elegant toast notification library for React Native Expo with Material You and Neobrutalist themes

16 lines (15 loc) 645 B
import { ToastGlobalConfig, ToastTheme, ToastSize, ToastAnimationType, ToastPosition } from './types'; declare class ToastConfigManager { private config; setConfig(newConfig: Partial<ToastGlobalConfig>): void; getConfig(): ToastGlobalConfig; getTheme(): ToastTheme; getDefaultDuration(): number; getDefaultPosition(): ToastPosition; getDefaultAnimationType(): ToastAnimationType; getCustomStyles(): import("./types").ToastCustomStyles; getSize(): ToastSize; } export declare const toastConfig: ToastConfigManager; export declare const configureToasts: (config: Partial<ToastGlobalConfig>) => void; export {};