import React from "react"; import styled, { css } from "styled-components"; // eslint-disable-next-line react/prop-types, no-unused-vars const ClearDiv = ({ orientation, width, ...props }) =>
; const StyledDiv = styled(ClearDiv)` .subtext { margin-top: 16px; margin-bottom: 8px; } ${(props) => (props.orientation === "horizontal" && css` display: flex; `) || (props.orientation === "vertical" && css` display: inline-block; `)}; width: ${(props) => props.width}; `; export default StyledDiv;