You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

27 lines
1.2 KiB

/* eslint no-console:0 */
9 years ago
// this file is not used if use https://github.com/ant-design/babel-plugin-antd
import {
Rate, Affix, DatePicker, Tooltip, Carousel, Tabs, Modal, Dropdown, Progress, Popover, Select,
Breadcrumb, Popconfirm, Pagination, Steps, InputNumber, Switch, Checkbox, Table, Collapse, message,
Slider, QueueAnim, Radio, notification, Alert, Validation, Tree, TreeSelect, Upload,
Badge, Menu, Timeline, Button, Icon, Row, Col, Spin, Form, Input, Calendar, TimePicker,
Card, LocaleProvider, Transfer, Cascader,
} from 'antd';
// copy from above
9 years ago
const antd = {
Rate, Affix, DatePicker, Tooltip, Carousel, Tabs, Modal, Dropdown, Progress, Popover, Select,
Breadcrumb, Popconfirm, Pagination, Steps, InputNumber, Switch, Checkbox, Table, Collapse, message,
Slider, QueueAnim, Radio, notification, Alert, Validation, Tree, TreeSelect, Upload,
Badge, Menu, Timeline, Button, Icon, Row, Col, Spin, Form, Input, Calendar, TimePicker,
Card, LocaleProvider, Transfer, Cascader,
};
10 years ago
9 years ago
if (typeof console !== 'undefined' && console.warn) {
console.warn(`you are using prebuild antd,
9 years ago
please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.`);
9 years ago
}
9 years ago
export default antd;