0.0.2 • Published 1 year ago

@itkyk/emotion-reset-style v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Reset Css works by @emotion

Setup

// React
import * as React from "react";
import {Global, css} from "@emotion/css";
import resetStyle from "@itkyk/emotion-reset-style";

const App: React.FC = () => {
  return (
    <>
      <Global styles={css(resetStyle)}/>
    </>
  )
}
import {injectGlobal} from "@emotion/css";
import resetStyle from "@itkyk/emotion-reset-style";

injectGlobal(resetStyle);

Contents of style