import React, { FC, ReactNode } from "react"; import styled, { css } from "styled-components"; import CSS from "csstype"; interface SpaceBetweenContainerProps { children: ReactNode | null; style?: CSS.Properties; width100pct?: boolean; } const SpaceBetweenContainer: FC = ({ children, style, width100pct = true, }) => { return ( {children} ); }; export default SpaceBetweenContainer; const StyledDiv = styled.div` display: flex; justify-content: space-between; ${(props) => props.width100pct && css` width: 100%; `} `;