```jsx import { AnimationSlider } from '@woocommerce/components'; class MyAnimationSlider extends Component { constructor() { super(); this.state = { pages: [ 44, 55, 66, 77, 88 ], page: 0, animate: null, }; this.forward = this.forward.bind( this ); this.back = this.forward.bind( this ); } forward() { this.setState( state => ( { page: state.page + 1, animate: 'left', } ) ); } back() { this.setState( state => ( { page: state.page - 1, animate: 'right', } ) ); } render() { const { page, pages, animate } = this.state; const style = { margin: '16px 0', padding: '8px 16px', color: 'white', fontWeight: 'bold', backgroundColor: '#246EB9', }; return (