# IToastResult

The result of calling the useToast hook. This gives you methods to invoke notifications for success, errors, etc... All notifications work the same way but have different styles.

## Definition

```tsx
interface IToastResult {
    success: IToastFunction,
    error: IToastFunction,
    warning: IToastFunction,
    info: IToastFunction,
    custom: IToastFunction,
    remove: IRemoveFunction
}
```

## Usage

```tsx
import { IToastResult } from 'uxp/components';
```

## Related Types

* [IToastFunction](https://help.iviva.com/uxp/v5/additional-resources/types/itoastfunction)
* [IPartialContent](https://help.iviva.com/uxp/v5/additional-resources/types/ipartialcontent)
* [IToastContent](https://help.iviva.com/uxp/v5/additional-resources/types/itoastcontent)
* [IRemoveFunction](https://help.iviva.com/uxp/v5/additional-resources/types/iremovefunction)
