mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-13 04:53:11 +08:00
move css-animation to demo
This commit is contained in:
parent
2f23f04eb5
commit
ad7f079251
@ -7,7 +7,7 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
````jsx
|
````jsx
|
||||||
var cssAnimation = antd.cssAnimation;
|
var cssAnimation = require('css-animation');
|
||||||
var motions = [];
|
var motions = [];
|
||||||
motions = motions.concat([[{
|
motions = motions.concat([[{
|
||||||
name: '淡入',
|
name: '淡入',
|
||||||
|
3
index.js
3
index.js
@ -14,8 +14,7 @@ var antd = {
|
|||||||
Popconfirm: require('./components/popconfirm'),
|
Popconfirm: require('./components/popconfirm'),
|
||||||
confirm: require('./components/modal/confirm'),
|
confirm: require('./components/modal/confirm'),
|
||||||
Steps: require('./components/steps'),
|
Steps: require('./components/steps'),
|
||||||
InputNumber: require('./components/input-number'),
|
InputNumber: require('./components/input-number')
|
||||||
cssAnimation: require('css-animation')
|
|
||||||
};
|
};
|
||||||
|
|
||||||
module.exports = antd;
|
module.exports = antd;
|
||||||
|
@ -1 +1,3 @@
|
|||||||
window['react-router'] = require('react-router');
|
window['react-router'] = require('react-router');
|
||||||
|
|
||||||
|
window['css-animation'] = require('css-animation');
|
||||||
|
Loading…
Reference in New Issue
Block a user