UNPKG

styled-components

Version:

Visual primitives for the component age. Use the best bits of ES6 and CSS to style your apps without stress 💅

12 lines (8 loc) • 276 B
// @flow import * as lib from './' const { default: styled, ...rest } = lib // if you don't do this then the browser build has to be used like window.styled.default`` for (const key in rest) { if (rest.hasOwnProperty(key)) styled[key] = rest[key] } export default styled