# Notification 通知

全局通知信息。

## ☁️ 注意

在云控制台内，通知展现行为可能与组件不一致。你也可以使用 `tea-app` 包所提供的提示 [API](/app#顶部提示)。

## 使用示例

### 基本用法

[Example: NotificationExample](./_example/NotificationExample.jsx)

## API

- `notification.success(options)`

- `notification.warning(options)`

- `notification.error(options)`

---

API 调用返回值中 `{ destroy }` 方法可关闭通知

## 组件属性

[Interface: NotificationOptions](./Notification.tsx)
