"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "getFloatingPortalProps", {
    enumerable: true,
    get: function() {
        return getFloatingPortalProps;
    }
});
const getFloatingPortalProps = (portal)=>{
    if (!portal) {
        return {};
    }
    if (typeof portal === 'string') {
        return {
            id: portal
        };
    }
    return {
        root: portal
    };
};
