styled-nanoreset
v2.0.0
Published
Nanoreset for Styled Components
Downloads
6
Maintainers
Readme
styled-nanoreset
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
- Fork it and create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am "Add some feature"
- Push to the branch:
git push origin my-new-feature
- Submit a pull request
License
MIT