IPartialContent

This function is invoked to display a toast (notification popup).

interface IPartialContent {
    icon?: string | IToastContent,
    title?: string | IToastContent,
    content: string | IToastContent,
    showCloseBtn?: boolean,
    autoClose?: boolean,
    onClose?: () => void,
    closeAfter?: number,
}

Usage

import {IPartialContent} from 'uxp/components';

Last updated