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