@babel/plugin-transform-react-jsx

  • Version 8.0.1
  • Published
  • 74.1 kB
  • 5 dependencies
  • MIT license

Install

npm i @babel/plugin-transform-react-jsx
yarn add @babel/plugin-transform-react-jsx
pnpm add @babel/plugin-transform-react-jsx

Overview

Turn JSX into React function calls

Index

Functions

function _default

_default: (
api: _babel_core.PluginAPI,
options: Options,
dirname: string
) => _babel_core.PluginObject<any>;

    Interfaces

    interface Options

    interface Options {}

      property filter

      filter?: (node: types.Node, pass: PluginPass) => boolean;

        property importSource

        importSource?: string;

          property pragma

          pragma?: string;

            property pragmaFrag

            pragmaFrag?: string;

              property pure

              pure?: string;

                property runtime

                runtime?: 'automatic' | 'classic';

                  property throwIfNamespace

                  throwIfNamespace?: boolean;

                    Package Files (1)

                    Dependencies (5)

                    Dev Dependencies (3)

                    Peer Dependencies (1)

                    Badge

                    To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                    You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/@babel/plugin-transform-react-jsx.

                    • Markdown
                      [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/@babel/plugin-transform-react-jsx)
                    • HTML
                      <a href="https://www.jsdocs.io/package/@babel/plugin-transform-react-jsx"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>