Socket
Socket
Sign inDemoInstall

@grammarly/react-textarea

Package Overview
Dependencies
5
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @grammarly/react-textarea

Grammarly plugin for React + textarea


Version published
Weekly downloads
7
increased by40%
Maintainers
7
Install size
4.74 MB
Created
Weekly downloads
 

Readme

Source

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}
    />
  );
}

FAQs

Last updated on 12 Mar 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc