styled-modern-css-reset
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

styled-modern-css-reset

A styled-component wrapper for modern-css-reset.

Installation

npm install styled-modern-css-reset

Usage

In the root component:

import Reset from "styled-modern-css-reset";
import React from "react";

export default () => (
  <>
    <Reset />

    <h1>Hello, World!</h1>
  </>
);

Alternatively, along with your app's global styles:

import { reset } from "styled-modern-css-reset";
import { createGlobalStyle } from "styled-components";
import React from "react";

const globalStyles = createGlobalStyle`
  ${reset}

  // Other styles...
`;

Hugs

Andy Bellmodern-css-reset

Readme

Keywords

Package Sidebar

Install

npm i styled-modern-css-reset

Weekly Downloads

37

Version

1.0.4

License

MIT

Unpacked Size

5.82 kB

Total Files

7

Last publish

Collaborators

  • abhibuilds