UNPKG

@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.

23 lines (18 loc) 351 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: 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;