1.0.1 • Published 4 years ago

styled-modern-reset v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

styled-modern-css-reset

package version package downloads standard-readme compliant package license make a pull request

modern-css-reset + Styled Components

Table of Contents

Install

This project uses node and npm.

$ npm install styled-modern-reset
$ # OR
$ yarn add styled-modern-reset

Usage

import { ModernCSSReset } from 'styled-modern-reset'

const App = () => (
  <>
    <ModernCSSReset />
    <div>Hi, I'm an app!</div>
  </>
}

export default App

reset is also available as a named export:

import { injectGlobal } from 'styled-components'
import reset from 'styled-modern-reset'

injectGlobal`
  ${reset}
`

Similar

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT