ant-design/.dumi/theme/builtins/Alert/index.tsx
lijianan 286a42b4e5
site style code optimization (#40524)
* site style code optimization

* site style code optimization

* del trigger

* revert
2023-02-03 13:39:46 +08:00

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;