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.

24 lines (21 loc) 833 B
import * as React from "react"; import styled from "styled-components"; import defaultTheme from "../../../defaultTheme"; var Wrapper = styled.div.withConfig({ displayName: "SectionContent__Wrapper", componentId: "ejbpby-0" })(["padding:", ";"], function (_ref) { var theme = _ref.theme; return "0 ".concat(theme.orbit.spaceLarge, " ").concat(theme.orbit.spaceLarge); }); // $FlowFixMe: https://github.com/flow-typed/flow-typed/issues/3653#issuecomment-568539198 Wrapper.defaultProps = { theme: defaultTheme }; var AccordionSectionContent = function AccordionSectionContent(_ref2) { var children = _ref2.children, dataTest = _ref2.dataTest; return /*#__PURE__*/React.createElement(Wrapper, { "data-test": dataTest && "".concat(dataTest, "Content") }, children); }; export default AccordionSectionContent;