@singleware/jsx
TypeScript icon, indicating that this package has built-in type declarations

1.0.32 • Public • Published

JSX

This package provides some classes to help you create JSX statements in a easy way.

Configuration

Add the specified lines below into your tsconfig.json

{
  "compilerOptions": {
    "jsx": "react",
    "jsxFactory": "JSX.create"
  }
}

Usage

import * as JSX from '@singleware/jsx';

const block = (
  <div>
    <span>Some test with a</span>
    <a href="/test">test link.</a>
  </div>
);

You can use with node.js or browser.

Install

Using npm:

npm i @singleware/jsx

License

MIT © Silas B. Domingos

/@singleware/jsx/

    Package Sidebar

    Install

    npm i @singleware/jsx

    Weekly Downloads

    1

    Version

    1.0.32

    License

    MIT

    Unpacked Size

    33.1 kB

    Total Files

    16

    Last publish

    Collaborators

    • balmanth