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.

17 lines (12 loc) 454 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _isDefined = _interopRequireDefault(require("./isDefined")); function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } var getDisplay = function getDisplay(inline) { return (0, _isDefined.default)(inline) && (inline ? "inline-flex" : "flex"); }; var _default = getDisplay; exports.default = _default;