optimize antd/link imports ui/elements/text: use antd component ui/element: optimize input, input-number, switch, checkbox imports fix Number typename ui/elements: optimize Radio, Segmented, Select move type Status to store types fix TableInsurance builders packages/ui: remove antd dir Output/Results: fix elements margin revert Loading status to elements packages/ui: remove value from props remove unnecessary loading prop
37 lines
645 B
TypeScript
37 lines
645 B
TypeScript
import { message, notification } from 'antd';
|
|
|
|
message.config({
|
|
maxCount: 3,
|
|
top: 70,
|
|
});
|
|
|
|
notification.config({
|
|
placement: 'bottomRight',
|
|
style: { borderRadius: 2 },
|
|
});
|
|
|
|
export { default as AntdConfig } from './Config';
|
|
export { default as Link } from './Link';
|
|
export { default as Radio } from './Radio';
|
|
export { default as Segmented } from './Segmented';
|
|
export { default as Select } from './Select';
|
|
export { default as Text } from './Text';
|
|
export {
|
|
Alert,
|
|
Badge,
|
|
Button,
|
|
Checkbox,
|
|
Divider,
|
|
Form,
|
|
Input,
|
|
InputNumber,
|
|
message,
|
|
notification,
|
|
Result,
|
|
Switch,
|
|
Table,
|
|
Tabs,
|
|
Tag,
|
|
Tooltip,
|
|
} from 'antd';
|