@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.
12 lines • 510 B
JavaScript
export var getBorder = function getBorder(_ref) {
var theme = _ref.theme;
return "".concat(theme.orbit.borderWidthCard, " ").concat(theme.orbit.borderStyleCard, " ").concat(theme.orbit.borderColorCard);
};
export var getBorderRadius = function getBorderRadius(_ref2) {
var theme = _ref2.theme;
return "".concat(theme.orbit.borderRadiusNormal);
};
export var getBorderRadiusMobile = function getBorderRadiusMobile(_ref3) {
var theme = _ref3.theme;
return "".concat(theme.orbit.borderRadiusLarge);
};