mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-21 13:18:04 +08:00
2cdf586291
* chore: fix lint * chore: fix lint * test: fix 16 * fix: lint
10 lines
253 B
TypeScript
10 lines
253 B
TypeScript
import React from 'react';
|
|
import type { AlertProps } from 'antd';
|
|
import { Alert } from 'antd';
|
|
|
|
const MdAlert: React.FC<AlertProps> = ({ style, ...props }) => (
|
|
<Alert {...props} style={{ margin: '24px 0', ...style }} />
|
|
);
|
|
|
|
export default MdAlert;
|