# 表单动画进出场 - order: 6 表单组合的进场与出场动画。 --- ````jsx var EnterAnimation = antd.EnterAnimation; var Select = antd.Select; var Option = Select.Option; var Checkbox = antd.Checkbox; var Radio = antd.Radio; var RadioGroup = antd.Radio.Group; var Test = React.createClass({ getInitialState() { return { enter: { type: 'right', callback: null, interval: 0.1 }, leave: { type: 'left', reverse: true, interval: 0.05, ease:'cubic-bezier(0.55, 0.085, 0.68, 0.53)', callback: ()=> { console.log('出场结束') } }, show: true } }, onClick() { this.setState({ show: !this.state.show }) }, render() { return (
{this.state.show ?

大眼萌 minion

男的 女的

随便写点什么

: null}
) } }); React.render( , document.getElementById('components-enter-animation-demo-form')); ````