@opentf/react-ta-input
TypeScript icon, indicating that this package has built-in type declarations

0.10.0 • Public • Published

 OPEN TECH FOUNDATION

React Ta Input

Virtual Keyboard

The Thamizhl (தமிழ்) language scripts input for ReactJS.

LIVE DEMO | DOCUMENTATION

Features

✅  Simple API

✅  It is based on the ta-input-spec specification

✅  Virtual Keyboard

✅  Easy switch between ta & System inputs methods

Upcoming

⏳ Drag virtual keyboard

⏳ Virtual Keyboard size variants

⏳ Option to pick various signs

⏳ Keyboard shortcut to change input language

Installation

npm install @opentf/react-ta-input
yarn add @opentf/react-ta-input
pnpm add @opentf/react-ta-input
bun add @opentf/react-ta-input

Usage

import { useRef } from "react";
import { TaInput } from "@opentf/react-ta-input";

export default function App() {
  const inputRef = useRef();

  const handleChange = (value) => {
    console.log(value);
  };

  return (
    <div>
      <TaInput inputRef={inputRef} onChange={handleChange}>
        <textarea ref={inputRef} rows={5} cols={50} />
      </TaInput>
    </div>
  );
}

License

Copyright (c) Thanga Ganapathy (MIT License)

Package Sidebar

Install

npm i @opentf/react-ta-input

Weekly Downloads

1

Version

0.10.0

License

MIT

Unpacked Size

15.7 kB

Total Files

5

Last publish

Collaborators

  • ganapathy