ant-design/index.js

26 lines
794 B
JavaScript
Raw Normal View History

2015-06-09 15:21:44 +08:00
require('./style/index.less');
2015-05-26 17:35:24 +08:00
2015-05-25 17:20:49 +08:00
var antd = {
2015-06-09 14:50:55 +08:00
Datepicker: require('./components/datepicker'),
Tooltip: require('./components/tooltip'),
2015-06-15 19:56:58 +08:00
Tabs: require('./components/tabs'),
2015-06-10 22:02:13 +08:00
Modal: require('./components/modal'),
2015-06-09 14:46:51 +08:00
Menu: require('rc-menu'),
2015-06-09 16:54:11 +08:00
Dropdown: require('./components/dropdown'),
2015-06-09 21:16:59 +08:00
Progress: require('./components/progress'),
2015-06-17 16:58:13 +08:00
Popover: require('./components/popover'),
2015-06-10 22:02:13 +08:00
Select: require('./components/select'),
2015-07-01 20:44:19 +08:00
Breadcrumb: require('./components/breadcrumb'),
2015-06-24 19:20:47 +08:00
Popconfirm: require('./components/popconfirm'),
2015-06-25 16:01:04 +08:00
confirm: require('./components/modal/confirm'),
2015-07-01 14:48:47 +08:00
Steps: require('./components/steps'),
2015-07-08 19:47:45 +08:00
InputNumber: require('./components/input-number'),
Switch: require('./components/switch')
2015-05-21 20:36:13 +08:00
};
2015-05-25 17:20:49 +08:00
2015-07-02 12:12:13 +08:00
module.exports = antd;
if (typeof window !== undefined) {
window.antd = antd;
}