Fix missing Tag component in built package and add test case, close #1638

This commit is contained in:
afc163
2016-05-11 15:29:08 +08:00
parent 2d513ae576
commit c5af3dcc7c
2 changed files with 58 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
// 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,
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,
Badge, Menu, Timeline, Button, Icon, Row, Col, Spin, Form, Input, Calendar, TimePicker,
@@ -11,7 +11,7 @@ import {
// copy from above
const antd = {
Rate, Affix, DatePicker, Tooltip, Carousel, Tabs, Modal, Dropdown, Progress, Popover, Select,
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,
Badge, Menu, Timeline, Button, Icon, Row, Col, Spin, Form, Input, Calendar, TimePicker,