0.0.7 • Published 6 years ago

ds-styled v0.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

ds-styled

Design system for the styled-components library

Install

npm install ds-styled

How to use

Import styled-components library and functions to used

import styled from 'styled-components'
import { margin } from 'ds-styled'

Define your tag styled adding the functions properties

const Box = styled.div`
  ${ margin }
`

Use your tag styled adding the props to the components

<Box mall="10">
    Hola
</Box>
0.0.7

6 years ago

0.0.6

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago