---
nav:
  title: 组件
  path: /components
  order: 1
---

## Toast 轻提示

代码演示:

<code src="./demo/basic.jsx" />

## API

- `Toast.success(content, duration, onClose, mask)`
- `Toast.fail(content, duration, onClose, mask)`
- `Toast.info(content, duration, onClose, mask)`
- `Toast.loading(content, duration, onClose, mask)`
