@ant-design/icons#StepBackwardOutlined TypeScript Examples

The following examples show how to use @ant-design/icons#StepBackwardOutlined. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: controlBar.tsx    From covid_dashboard with MIT License 6 votes vote down vote up
public render() {
        const { env, onChangeDate, onChangeSpeed } = this.props;
        const { x3 } = this.state;
        return (
            <div className='controlbar'>
                <img src={require('./images/bg.png')} />
                {
                    env.speed > 0 ? (
                        <PauseOutlined className='playpause' onClick={() => onChangeSpeed(0)} />
                    ) : (
                        <CaretRightOutlined className='playpause' onClick={this.handlePlay} style={{marginLeft: '3px'}} />
                    )
                }
                <StepBackwardOutlined className='start' onClick={() => onChangeDate(this.begin)} />
                <StepForwardOutlined className='end' onClick={() => onChangeDate(this.end)}/>
                <div className='speed' style={x3 ? {backgroundColor: '#020E26bb', color: 'white'} : undefined} onClick={this.handleX3}>x 3</div>
            </div>
        )
    }