0.2.5 • Published 6 years ago
flex-utils v0.2.5
flex-utils
Generates a string to be consumed by styled-components.
Usage
npm install --save flex-utils
import styled from "styled-components"
import { createFlexString } from "flex-utils"
const MyFlexContainer = styled.div`
${createFlexString({ direction: "column", wrap: false })}
color: blue;
`