mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
update queue-anim demo ReactDOM
This commit is contained in:
parent
806dfbfd1e
commit
ac87334179
@ -51,7 +51,7 @@ var Test = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
React.render(<Test />
|
||||
ReactDOM.render(<Test />
|
||||
, document.getElementById('components-queue-anim-demo-basic'));
|
||||
````
|
||||
|
||||
|
@ -60,7 +60,7 @@ var Test = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
React.render(<Test />
|
||||
ReactDOM.render(<Test />
|
||||
, document.getElementById('components-queue-anim-demo-change'));
|
||||
````
|
||||
|
||||
|
@ -52,7 +52,7 @@ var Test = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
React.render(<Test />
|
||||
ReactDOM.render(<Test />
|
||||
, document.getElementById('components-queue-anim-demo-enter-leave'));
|
||||
````
|
||||
|
||||
|
@ -80,7 +80,7 @@ var Test = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
React.render(<Test />
|
||||
ReactDOM.render(<Test />
|
||||
, document.getElementById('components-queue-anim-demo-form'));
|
||||
````
|
||||
|
||||
|
@ -71,7 +71,7 @@ var Test = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
React.render(<Test />
|
||||
ReactDOM.render(<Test />
|
||||
, document.getElementById('components-queue-anim-demo-page'));
|
||||
````
|
||||
<style>
|
||||
|
@ -118,7 +118,7 @@ var Page2 = React.createClass({
|
||||
);
|
||||
}
|
||||
});
|
||||
React.render((
|
||||
ReactDOM.render((
|
||||
<Router>
|
||||
<Route path="/" component={App} ignoreScrollBehavior>
|
||||
<Route path="page1" component={Page1} />
|
||||
|
@ -8,7 +8,7 @@
|
||||
|
||||
````jsx
|
||||
var QueueAnim = antd.QueueAnim;
|
||||
React.render(
|
||||
ReactDOM.render(
|
||||
<QueueAnim delay={500}>
|
||||
<div key='a'>依次进场</div>
|
||||
<div key='b'>依次进场</div>
|
||||
|
@ -51,10 +51,10 @@ var Test = React.createClass({
|
||||
}
|
||||
});
|
||||
|
||||
React.render(<Test />
|
||||
ReactDOM.render(<Test />
|
||||
, document.getElementById('components-queue-anim-demo-style'));
|
||||
````
|
||||
|
||||
gi
|
||||
<style>
|
||||
#components-queue-anim-demo-style {
|
||||
text-align: center;
|
||||
|
@ -35,7 +35,7 @@
|
||||
"dependencies": {
|
||||
"css-animation": "~1.1.0",
|
||||
"enter-animation": "~0.5.0",
|
||||
"rc-queue-anim": "~0.10.4",
|
||||
"rc-queue-anim": "~0.10.5",
|
||||
"gregorian-calendar": "~3.0.0",
|
||||
"gregorian-calendar-format": "~3.0.1",
|
||||
"object-assign": "~4.0.1",
|
||||
|
Loading…
Reference in New Issue
Block a user