0.0.2 • Published 1 year ago
@itkyk/emotion-reset-style v0.0.2
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
- The content of style adopts destyle.css.