Ninja Pumpkin Mutants

    @material-ui/styled-engine-sc
    TypeScript icon, indicating that this package has built-in type declarations

    5.0.0-alpha.11 • Public • Published

    @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',
        },
      },
    };

    Install

    npm i @material-ui/styled-engine-sc

    DownloadsWeekly Downloads

    1,484

    Version

    5.0.0-alpha.11

    License

    MIT

    Unpacked Size

    621 kB

    Total Files

    8

    Last publish

    Collaborators

    • oliviertassinari
    • hai-cea
    • mbrookes
    • joshwooding
    • eps1lon
    • mnajdova
    • siriwatknp
    • michaldudak