mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 23:35:38 +08:00
9 lines
235 B
TypeScript
9 lines
235 B
TypeScript
|
import { Alert, AlertProps } from 'antd';
|
||
|
import React, { FC } from 'react';
|
||
|
|
||
|
const MdAlert: FC<AlertProps> = ({ style, ...props }) => {
|
||
|
return <Alert {...props} style={{ margin: '24px 0', ...style }} />;
|
||
|
};
|
||
|
|
||
|
export default MdAlert;
|