babel-plugin-transform-jsx-stylesheet

  • Version 1.0.6
  • Published
  • 32.5 kB
  • 1 dependency
  • BSD-3-Clause license

Install

npm i babel-plugin-transform-jsx-stylesheet
yarn add babel-plugin-transform-jsx-stylesheet
pnpm add babel-plugin-transform-jsx-stylesheet

Overview

Transform stylesheet selector to style in JSX Elements.

Index

Functions

Functions

function default

default: (
{ types: t, template }: { types: any; template: any },
opts?: {}
) => {
pre(file: any): void;
visitor: {
Program: { exit({ node }: { node: any }, { file }: { file: any }): void };
JSXOpeningElement(
{ container }: { container: any },
{ file, opts }: { file: any; opts: any }
): void;
ImportDeclaration(
{ node }: { node: any },
{ file, opts }: { file: any; opts: any }
): void;
};
};

    Package Files (1)

    Dependencies (1)

    Dev Dependencies (2)

    Peer Dependencies (0)

    No peer dependencies.

    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-jsx-stylesheet.

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