1.1.1 • Published 6 years ago

@ambewas/styled-utils v1.1.1

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

styled-utils

a set of utility functions for styled components and css-in-js

NPM JavaScript Style Guide

Install

npm install --save @ambewas/styled-utils

Usage

import React, { Component } from 'react'

import {padding, margin} from '@ambewas/styled-utils'

export default class App extends Component {
  render() {
    return (
      <div className={padding(2, 3, 2, 1) + " " + margin(2, 3, 2, 1)}>
        hello
      </div>
    )
  }
}

License

MIT © ambewas

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago