Skip to content

tiaanduplessis/styled-nanoreset

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

styled-nanoreset

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

Nanoreset + Styled Components

Table of Contents

Install

This project uses node and npm.

$ npm install styled-nanoreset
$ # OR
$ yarn add styled-nanoreset

Usage

import * as React from 'react'
import { NanoReset } from 'styled-nanoreset'

const App = () => (
  <React.Fragment>
    <NanoReset />
    <div>Hi, I'm an app!</div>
  </React.Fragment>
}

export default App

reset is also available as a named export:

import { injectGlobal } from 'styled-components'
import reset from 'styled-nanoreset'
injectGlobal`
  ${reset}
`

Similar

Also see styled-normalize from Sergey Sova.

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