UNPKG

strapi-plugin-migrate

Version:
15 lines (11 loc) 358 B
import React from 'react'; import styled from 'styled-components'; const StyledFlex = styled.div` display: flex; justify-content: ${({ justify }) => justify || 'space-between'}; padding: ${({ padding}) => padding || "8px"}; `; const Flex = ({ children, ...rest }) => { return <StyledFlex {...rest}>{children}</StyledFlex>; }; export default Flex;