32 lines
559 B
React
32 lines
559 B
React
|
import React, { Component } from 'react';
|
||
|
import PropTypes from 'prop-types';
|
||
|
import Styled from './styles';
|
||
|
|
||
|
class Right extends Component {
|
||
|
constructor(props) {
|
||
|
super(props);
|
||
|
}
|
||
|
|
||
|
render() {
|
||
|
return (
|
||
|
<Styled.CloseButton
|
||
|
size="sm"
|
||
|
hideLabel
|
||
|
circle
|
||
|
{...this.props}
|
||
|
/>
|
||
|
);
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Right.propTypes = {
|
||
|
accessKey: PropTypes.any,
|
||
|
'aria-label': PropTypes.string,
|
||
|
'data-test': PropTypes.string,
|
||
|
icon: PropTypes.string,
|
||
|
label: PropTypes.string,
|
||
|
onClick: PropTypes.func,
|
||
|
};
|
||
|
|
||
|
export default Right;
|