Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@material-ui/styled-engine-sc

Package Overview
Dependencies
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@material-ui/styled-engine-sc

Material-UI Styled - Wrapper package for styled-components.

  • 5.0.0-alpha.11
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
210
decreased by-25.8%
Maintainers
6
Weekly downloads
 
Created
Source

@material-ui/styled-engine-sc

This package is a wrapper around the styled-components package. It is created to be used as alias for the @material-ui/styled-engine package, for the developers who would like to use styled-components as a styled engine instead of @emotion/styled.

Installation

The installation of the dependency in your package is slightly different from the usual. You need to alias the default emotion implementation to the styled-components one. Depending on the bundler you are using, you made add it like this:

webpack

module.exports = {
  //...
  resolve: {
    alias: {
      '@material-ui/styled-engine': '@material-ui/styled-engine-sc',
    },
  },
};

Keywords

FAQs

Package last updated on 26 Sep 2020

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

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc