index.js 263 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 // @flow import styled from '@emotion/styled-base' import { tags } from './tags' // bind it to avoid mutating the original function const newStyled = styled.bind() tags.forEach(tagName => { newStyled[tagName] = newStyled(tagName) }) export default newStyled