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