# Alert 警示

用于给用户显示提示消息。

## 使用示例

### 基本用法

支持消息、告警、成功、异常四种提示类型。

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

### 公告栏

公告栏用于承载产品通知、功能重大调整、计费策略变化、产品策略变更、活动规则说明等内容。

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

<!-- <Half> -->

### 可关闭

使用 `defaultVisible` 进行非受控关闭或者使用 `visible` 进行受控关闭。

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

### 列表形式

可以在提示消息内进行标题、正文、列表等排版内容。

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

### 轮播

当需要同时提示多条内容时，可使用轮播提示条来承载，避免页面上同时出现多条提示条挤占内容。

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

<!-- </Half> -->

## 组件属性

[Interface: AlertProps](./Alert.tsx)

[Interface: AlertNoticeProps](./AlertNotice.tsx)

