export function getDimensions(size) {
    if (!size)
        return {};
    if (typeof size === "number") {
        return {
            width: size.toString() + "px",
            height: size.toString() + "px",
        };
    }
    return {
        width: size,
        height: size,
    };
}
//# sourceMappingURL=getDimensions.js.map