Socket
Socket
Sign inDemoInstall

@instructure/babel-plugin-transform-class-display-name

Package Overview
Dependencies
53
Maintainers
35
Versions
606
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @instructure/babel-plugin-transform-class-display-name

A babel plugin to add a displayName property to React component class declarations


Version published
Maintainers
35
Install size
17.6 kB
Created

Changelog

Source

5.52.3 (2019-04-25)

Bug Fixes

  • ui-layout: position should account for documentElement offset (f70bde6)

Readme

Source

category: packages

@instructure/babel-plugin-transform-class-display-name

npm

A transform to add a displayName to React components. This is required for @instructure/ui-themeable because it uses the displayName to scope the CSS variables.

Installation

yarn add --dev @instructure/babel-plugin-transform-class-display-name

Usage

In your .babelrc file:

{
  "plugins": ["@instructure/babel-plugin-transform-class-display-name"]
}

FAQs

Last updated on 26 Apr 2019

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