2023-08-17 15:00:04 +08:00
|
|
|
import React from 'react';
|
2024-04-08 14:04:08 +08:00
|
|
|
import { SmileOutlined } from '@ant-design/icons';
|
2023-08-17 15:00:04 +08:00
|
|
|
import { Alert, ConfigProvider } from 'antd';
|
|
|
|
|
|
|
|
const icon = <SmileOutlined />;
|
|
|
|
|
|
|
|
const App: React.FC = () => (
|
|
|
|
<ConfigProvider
|
|
|
|
theme={{
|
|
|
|
components: {
|
|
|
|
Alert: {
|
|
|
|
withDescriptionIconSize: 32,
|
|
|
|
withDescriptionPadding: 16,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}}
|
|
|
|
>
|
|
|
|
<Alert
|
|
|
|
icon={icon}
|
|
|
|
message="Success Tips"
|
2024-08-15 22:51:41 +08:00
|
|
|
description="Detailed description and advice about successful copywriting."
|
2023-08-17 15:00:04 +08:00
|
|
|
type="success"
|
|
|
|
showIcon
|
|
|
|
/>
|
|
|
|
</ConfigProvider>
|
|
|
|
);
|
|
|
|
|
|
|
|
export default App;
|