@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.
19 lines • 608 B
JavaScript
import React from "react";
import styled from "styled-components";
import defaultTheme from "../../../defaultTheme";
const StyledWrapper = styled.div.withConfig({
displayName: "SectionContent__StyledWrapper",
componentId: "sc-qysvla-0"
})(["padding:", ";"], ({
theme
}) => `0 ${theme.orbit.spaceLarge} ${theme.orbit.spaceLarge}`);
StyledWrapper.defaultProps = {
theme: defaultTheme
};
const AccordionSectionContent = ({
children,
dataTest
}) => /*#__PURE__*/React.createElement(StyledWrapper, {
"data-test": dataTest && `${dataTest}Content`
}, children);
export default AccordionSectionContent;