# 自定义动画进出场 - order: 3 通过 `animConfig` 来自定义动画进出场。 --- ````jsx import { QueueAnim, Button } from 'antd'; const 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')); ````