2022-05-20 01:28:58 +08:00
|
|
|
import React, { Component } from 'react';
|
|
|
|
import PropTypes from 'prop-types';
|
|
|
|
import Styled from './styles';
|
|
|
|
|
|
|
|
class Left extends Component {
|
|
|
|
constructor(props) {
|
|
|
|
super(props);
|
|
|
|
}
|
|
|
|
|
|
|
|
render() {
|
|
|
|
return (
|
|
|
|
<Styled.HideButton
|
|
|
|
className="buttonWrapper"
|
|
|
|
icon="left_arrow"
|
2022-09-09 21:19:04 +08:00
|
|
|
tabIndex={0}
|
2022-05-20 01:28:58 +08:00
|
|
|
{...this.props}
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Left.propTypes = {
|
|
|
|
accessKey: PropTypes.any,
|
|
|
|
'aria-label': PropTypes.string,
|
|
|
|
'data-test': PropTypes.string,
|
|
|
|
label: PropTypes.string,
|
|
|
|
onClick: PropTypes.func,
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Left;
|