Socket
Book a DemoInstallSign in
Socket

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

Package Overview
Dependencies
Maintainers
30
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

Source
npmnpm
Version
5.1.1-dev.1
Version published
Maintainers
30
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 05 Apr 2018

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