mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-12 15:19:58 +08:00
ffbb19e090
* chore: enable tsc for demos * chore: site lint * chore: fix lint
11 lines
280 B
TypeScript
11 lines
280 B
TypeScript
import type { AlertProps } from 'antd';
|
|
import { Alert } from 'antd';
|
|
import type { FC } from 'react';
|
|
import React from 'react';
|
|
|
|
const MdAlert: FC<AlertProps> = ({ style, ...props }) => (
|
|
<Alert {...props} style={{ margin: '24px 0', ...style }} />
|
|
);
|
|
|
|
export default MdAlert;
|