import React, { PropTypes } from 'react';
import Button from '../button';
import Icon from '../icon';
function noop() {
}
export default class TransferOperation extends React.Component {
render() {
const {
moveToLeft,
moveToRight,
leftArrowText,
rightArrowText,
leftActive,
rightActive,
className,
} = this.props;
const moveToLeftButton = (
);
const moveToRightButton = (
);
return (
{moveToLeftButton}
{moveToRightButton}
);
}
}
TransferOperation.defaultProps = {
leftArrowText: '',
rightArrowText: '',
moveToLeft: noop,
moveToRight: noop,
};
TransferOperation.propTypes = {
className: PropTypes.string,
leftArrowText: PropTypes.string,
rightArrowText: PropTypes.string,
moveToLeft: PropTypes.func,
moveToRight: PropTypes.func,
};