UNPKG

sriracha-ui

Version:

A react style library build with styled-components, and material ui theme.

19 lines (17 loc) 528 B
import { css } from "styled-components"; import { flexDirection, flexJustify, flexItems, flexContent, flexWrap, } from "../../../maps"; export default css` display: flex; flex-wrap: ${flexWrap}; flex-direction: ${(props) => props.direction ? props.direction : flexDirection}; justify-content: ${(props) => (props.justify ? props.justify : flexJustify)}; align-items: ${(props) => (props.align ? props.align : flexItems)}; align-content: ${(props) => (props.content ? props.content : flexContent)}; `;