Socket
Socket
Sign inDemoInstall

@grammarly/react-textarea

Package Overview
Dependencies
Maintainers
7
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@grammarly/react-textarea

Grammarly plugin for React + textarea


Version published
Maintainers
7
Created
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

Package last updated on 12 Mar 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc