ui-ts
TypeScript icon, indicating that this package has built-in type declarations

1.1.1 • Public • Published

ui-ts

A tiny-tiny UI library that uses JSX and fp-ts to make for easy small UIs.

Installation

Using the CLI

See CLI.

Manual installation

Install, alongside fp-ts, ts-adt, and immer:

> pnpm install ui-ts fp-ts ts-adt immer

Setup a TSConfig like the following:

{
  "compilerOptions": {
    "module": "commonjs",
    "target": "es2016",

    "jsx": "react",
    "jsxFactory": "UI.element",
    "jsxFragmentFactory": "UI.fragment",

    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "strict": true,
    "skipLibCheck": true,
    "strictBindCallApply": true
  }
}

And setup some sort of build process.

Documentation

See docs.

Readme

Keywords

none

Package Sidebar

Install

npm i ui-ts

Weekly Downloads

3

Version

1.1.1

License

MIT

Unpacked Size

194 kB

Total Files

17

Last publish

Collaborators

  • ej-shafran