A sharable normalize CSS for SmartHR
npm install smarthr-normalize-cssA sharable normalize CSS for SmartHR. This is intended to use at a project for styled-components.
smarthr-normalize-css is available as an npm package.
``sh
// with npm
npm install --save-dev smarthr-normalize-css
// with yarn
yarn add --dev smarthr-normalize-css
`
`jsx
import * as React from 'react'
import { CssBaseLine } from 'smarthr-normalize-css'
const App = () => (
Hello World!
)
`
You can also use the default export or named export (lowercase) in your own
global style.
`jsx
import * as React from 'react'
import { createGlobalStyle } from 'styled-components'
import cssBaseLine from 'smarthr-normalize-css'
const GlobalStyle = createGlobalStyle
${cssBaseLine}
/ other styles /
export const App = () => (
Hello World!
}
``