ant-design/.dumi/theme/builtins/Alert/index.tsx

10 lines
253 B
TypeScript
Raw Normal View History

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;