0.11.2 • Published 3 years ago

@grammarly/react-textarea v0.11.2

Weekly downloads
37
License
-
Repository
github
Last release
3 years ago

Grammarly plugin for React + textarea

Bringing the Grammarly experience to apps that use React and <textarea>. No browser extension required.

Getting started

Install the Grammarly plugin:

npm install @grammarly/react-textarea

Use the provided <GrammarlyTextarea> instead of a regular <textarea>:

import { GrammarlyTextArea } from "@grammarly/react-textarea";

import React, { useState } from "react";

export function TextareaEditor() {
  const [value, setValue] = useState("");

  return (
    <GrammarlyTextArea
      value={value}
      onChange={(event) => {
        setValue(event.target.value);
      }}
      clientId="your-client-id-here"
      rows={20}
    />
  );
}
0.11.2

3 years ago

0.11.0

3 years ago

0.10.18

3 years ago

0.10.17

3 years ago

0.10.16

3 years ago

0.10.14

3 years ago

0.10.11

3 years ago

0.10.12

3 years ago

0.10.9

3 years ago

0.10.8

3 years ago

0.10.7

3 years ago