diff --git a/index.js b/index.js index 9ce1480199..2aff55a107 100644 --- a/index.js +++ b/index.js @@ -10,7 +10,7 @@ import { } from 'antd'; // copy from above -const antd = { +export { Rate, Affix, DatePicker, Tooltip, Tag, 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, @@ -24,5 +24,3 @@ if (process.env.NODE_ENV !== 'production') { please use https://github.com/ant-design/babel-plugin-antd to reduce app bundle size.`); } } - -export default antd;