mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
286a42b4e5
* site style code optimization * site style code optimization * del trigger * revert
10 lines
253 B
TypeScript
10 lines
253 B
TypeScript
import type { AlertProps } from 'antd';
|
|
import { Alert } from 'antd';
|
|
import React from 'react';
|
|
|
|
const MdAlert: React.FC<AlertProps> = ({ style, ...props }) => (
|
|
<Alert {...props} style={{ margin: '24px 0', ...style }} />
|
|
);
|
|
|
|
export default MdAlert;
|