import { CSSProperties, FunctionalComponent } from 'vue'; import LeftOutlined from '@ant-design/icons-vue/LeftOutlined'; import RightOutlined from '@ant-design/icons-vue/RightOutlined'; import Button from '../button'; function noop() {} export interface TransferOperationProps { class?: any; leftArrowText?: string; rightArrowText?: string; moveToLeft?: (e: MouseEvent) => void; moveToRight?: (e: MouseEvent) => void; leftActive?: boolean; rightActive?: boolean; style?: CSSProperties | string; disabled?: boolean; } const Operation: FunctionalComponent = props => { const { disabled, moveToLeft = noop, moveToRight = noop, leftArrowText = '', rightArrowText = '', leftActive, rightActive, class: className, style, } = props; return (
); }; Operation.inheritAttrs = false; export default Operation;