🚨 Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis →
Socket
Book a DemoInstallSign in
Socket

@react-to-styled/loader

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react-to-styled/loader

Loader

latest
Source
npmnpm
Version
0.3.1-alpha.2
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

License: MIT GitHub contributors npm npm First good issue Package size

React to styled loader

Package for simple css-in-js loader component.

Installation

We suggest this package to be imported

Install with npm:

npm install @react-to-styled/loader

Install with yarn:

yarn add @react-to-styled/loader

Import

import { Loader, LoaderProps } from '@react-to-styled/loader'

Dependencies

All our components depend on these dependencies

{
  "peerDependencies": {
    "react": ">=16.8.0",
    "react-dom": ">=16.8.0",
    "styled-components": ">=5"
  }
}

Usage

Here is a quick example how to add Loader:

import React from 'react'
import ReactDOM from 'react-dom'
import { Loader } from '@react-to-styled/loader'

function App() {
  return (
    <div>
      <Loader />
    </div>
  )
}

ReactDOM.render(<App />, document.querySelector('#app'))

You can also check our storybook for more examples

Keywords

react

FAQs

Package last updated on 03 May 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