styled-modern-reset
v1.0.1
Published
Modern reset for Styled Components
Downloads
4
Maintainers
Readme
styled-modern-css-reset
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
- 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