Guaxu Docs
    Preparing search index...

    Type Alias SnackbarContent

    type SnackbarContent = {
        buttons?: SnackbarButtonProps[];
        closeButton?: boolean;
        position?: SnackbarPosition;
        text: string;
        timeout?: number;
    }
    Index

    Properties

    buttons?: SnackbarButtonProps[]

    An array of buttons to display in the Snackbar

    closeButton?: boolean

    Whether the snackbar should have a close button.

    false

    position?: SnackbarPosition

    The position of the snackbar.

    top-center

    text: string

    The text content of the snackbar.

    timeout?: number

    Timeout in seconds before auto-dismiss.

    5 (auto-dismiss after 5 seconds)