import * as React from 'react'; import Button from '../button'; import Icon from '../icon'; function noop() { } export interface TransferOperationProps { className?: string; leftArrowText?: string; rightArrowText?: string; moveToLeft?: React.FormEventHandler; moveToRight?: React.FormEventHandler; leftActive?: boolean; rightActive?: boolean; } export default class TransferOperation extends React.Component { static defaultProps = { leftArrowText: '', rightArrowText: '', moveToLeft: noop, moveToRight: noop, }; render() { const { moveToLeft, moveToRight, leftArrowText, rightArrowText, leftActive, rightActive, className, } = this.props; const moveToLeftButton = ( ); const moveToRightButton = ( ); return (
{moveToLeftButton} {moveToRightButton}
); } }