Nanoreset + Styled Components
This project uses node and npm.
$ npm install styled-nanoreset
$ # OR
$ yarn add styled-nanoreset
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}
`
Also see styled-normalize from Sergey Sova.
- 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
MIT