Socket
Socket
Sign inDemoInstall

react-css-styled

Package Overview
Dependencies
3
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    react-css-styled

This component is a lightweight, simple line style component for react.


Version published
Weekly downloads
58K
increased by4.93%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

react-css-styled 👋 npm version

This component is a lightweight, simple line style component.

Installation

npm install react-css-styled

How to use

import styled from "react-css-styled";

const Styler = styled("div", `
{
  border-radius: 50%;
}
* {
  width: 100%;
  height: 100%;
}
:host div {
  position: relative;
}
`);

render() {
  return (<Styler className="">
    <div></div>
  </Styler>);
}

Development

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

License

MIT License

Copyright (c) 2019 Daybrush

Keywords

FAQs

Last updated on 04 Jun 2023

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc