@kiwicom/orbit-components
Version:
Orbit-components is a React component library which provides developers with the easiest possible way of building Kiwi.com’s products.
21 lines (16 loc) • 313 B
JavaScript
;
exports.__esModule = true;
exports.default = void 0;
const getBasis = basis => ({
theme
}) => {
if (typeof basis === "undefined") {
return null;
}
if (typeof basis === "function") {
return basis(theme);
}
return basis;
};
var _default = getBasis;
exports.default = _default;