Skip to content

@kubb/react 🦙 ​

Use React to create templates/variants for any plugin.


Installation ​

shell
bun add -d @kubb/react
shell
pnpm add -D @kubb/react
shell
npm install --save-dev @kubb/react
shell
yarn add -D @kubb/react

Configure tsconfig.json ​

json
{
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "@kubb/react"
  }
}

import @kubb/react instead of react ​

typescript
import React from 'react'
import React from '@kubb/react'

Released under the MIT License.