flex-utils
v0.2.5
Published
Generates a string to be consumed by styled-components.
Downloads
4
Readme
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;
`