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.

16 lines (15 loc) 751 B
"use strict"; var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default; exports.__esModule = true; exports.default = void 0; var _react = _interopRequireDefault(require("react")); const AccordionSectionFooter = ({ children, dataTest }) => /*#__PURE__*/_react.default.createElement("div", { // the border-radius is calculated based on the border-radius and border-width of the AccordionSection component // outer border-radius is 12px, border-width is 1px so inner border-radius is 12px - 1px = 11px className: "p-600 bg-white-normal shadow-level2 sticky bottom-0 flex rounded-b-[11px]", "data-test": dataTest && `${dataTest}Footer` }, children); var _default = exports.default = AccordionSectionFooter;