Lager - v5.2.0
    Preparing search index...

    Type Alias FlashMessageType

    Represents the configuration for a flash message.

    type FlashMessageType = {
        description: string;
        duration: number;
        message: string;
        onPress?: () => void;
        type: MessageType;
    }
    Index

    Properties

    description: string

    A brief description of the flash message.

    duration: number

    The duration for which the flash message is displayed (in milliseconds).

    message: string

    The actual message to be displayed.

    onPress?: () => void

    The type of the flash message. Can be 'info', 'warning', 'danger', 'success', or 'default'.