ant-design/components/alert/design/demo/content.tsx
MadCcc 5068137a1b
docs: add alert design page (#47037)
* docs: add alert design page

* chore: code clean

* fix: fallback style
2024-01-19 14:47:04 +08:00

15 lines
495 B
TypeScript

import React from 'react';
import { Alert, Flex } from 'antd';
const Demo = () => (
<Flex gap="middle" vertical style={{ maxWidth: 600 }}>
<Alert message="你好!欢迎使用专业版,你可以根据自身需求添加业务模块。" />
<Alert
message="帮助信息"
description="你好,由于你的良好信用,我们决定赠送你三个月产品会员,欲了解会员特权与活动请进首页会员专区查看。"
/>
</Flex>
);
export default Demo;