You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

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

Package Overview
Dependencies
Maintainers
35
Versions
606
Alerts
File Explorer

Advanced tools

Socket logo

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

5.52.3
latest
Source
npm
Version published
Weekly downloads
145
-88.52%
Maintainers
35
Weekly downloads
 
Created
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

Package last updated on 26 Apr 2019

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