import { prefix } from './prefix';
export var LeftCenter = function (_a) {
    var contentRect = _a.contentRect, relativeRect = _a.relativeRect, cushion = _a.cushion;
    var x = relativeRect.left - contentRect.width - cushion;
    var middle = (relativeRect.top + relativeRect.bottom) / 2;
    var y = middle - contentRect.height / 2;
    return {
        style: {
            position: 'absolute',
            left: x,
            top: y,
        },
        className: prefix('position-left-center'),
    };
};
