Socket
Socket
Sign inDemoInstall

@material-ui/styled-engine-sc

Package Overview
Dependencies
0
Maintainers
6
Versions
18
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @material-ui/styled-engine-sc

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


Version published
Weekly downloads
263
increased by19.55%
Maintainers
6
Install size
608 kB
Created
Weekly downloads
 

Changelog

Source

@mui/joy@5.0.0-alpha.11

  • [Joy] Add SvgIcon component (#30570) @hbjORbj

Readme

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

Last updated on 26 Sep 2020

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