UNPKG

styled-components

Version:

**This is a work in progress** based off of [this demo](https://github.com/geelen/css-components-demo).

9 lines (7 loc) 293 B
// @flow import interleave from '../utils/interleave' import flatten from '../utils/flatten' import type { Interpolation, RuleSet } from '../types' export default (strings: Array<string>, ...interpolations: Array<Interpolation>): RuleSet => ( flatten(interleave(strings, interpolations)) )