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

10 lines
253 B
TypeScript
Raw Normal View History

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;