# 自定义动画进出场 - order: 3 通过 `animConfig` 来自定义动画进出场。 --- ````jsx var QueueAnim = antd.QueueAnim; var Button = antd.Button; var Test = React.createClass({ getInitialState() { return { show: true, } }, onClick() { this.setState({ show: !this.state.show, }) }, render() { return (

{this.state.show ? [
,
] : null}
) } }); ReactDOM.render(, document.getElementById('components-queue-anim-demo-custom')); ````