1.0.2 • Published 2 years ago
@npm.piece/dynamic-styles v1.0.2
Make up layout inline
Installation
yarn add @npm.piece/dynamic-styles @emotion/react @emotion/styled
npm i @npm.piece/dynamic-styles @emotion/react @emotion/styled
Import
import { style, IStyleContainer } from '@npm.piece/dynamic-styles'
import styled from '@emotion/styled/macro'
Creating custom element
const div = styled.div<IStyleContainer>`
${style};
`