--- order: 3 title: 自定义动画进出场 --- 通过 `animConfig` 来自定义动画进出场。 ````jsx import { QueueAnim, Button } from 'antd'; const Test = React.createClass({ getInitialState() { return { show: true, }; }, onClick() { this.setState({ show: !this.state.show, }); }, render() { const list = this.state.show ? [
,
, ] : null; return (

{list}
); }, }); ReactDOM.render(, mountNode); ````