🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

smarthr-normalize-css

Package Overview
Dependencies
Maintainers
20
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

smarthr-normalize-css

A sharable normalize CSS for SmartHR

1.1.0
latest
Source
npm
Version published
Weekly downloads
2.9K
-7.13%
Maintainers
20
Weekly downloads
 
Created
Source

smarthr-normalize-css

A sharable normalize CSS for SmartHR. This is intended to use at a project for styled-components.

Installation

smarthr-normalize-css is available as an npm package.

// with npm
npm install --save-dev smarthr-normalize-css

// with yarn
yarn add --dev smarthr-normalize-css

Usage

import * as React from 'react'
import { CssBaseLine } from 'smarthr-normalize-css'

const App = () => (
  <React.Fragment>
    <CssBaseLine />
    <div>Hello World!</div>
  </React.Fragment>
)

You can also use the default export or named export (lowercase) in your own global style.

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 = () => (
  <React.Fragment>
    <GlobalStyle />
    <div>Hello World!</div>
  </React.Fragment>
}

Keywords

normalize.css

FAQs

Package last updated on 27 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts