# react-editable-and-draggable-text-2

> This is a library that allows to have a text that is draggable and editable

Latest version **1.2.7** (published 2019-12-09) · MIT license · 0 weekly downloads

## Install

```sh
npm install react-editable-and-draggable-text-2
pnpm add react-editable-and-draggable-text-2
yarn add react-editable-and-draggable-text-2
bun add react-editable-and-draggable-text-2
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.2.7 |
| Published | 2019-12-09 |
| First published | 2019-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Unpacked size | 103.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | lgdelacruz |
| Maintainers | lgdelacruz |

## Links

- npm: https://www.npmjs.com/package/react-editable-and-draggable-text-2
- Repository: https://github.com/lgdelacruz92/react-editable-and-draggable-text-2
- Homepage: https://github.com/lgdelacruz92/react-editable-and-draggable-text-2#readme
- Issues: https://github.com/lgdelacruz92/react-editable-and-draggable-text-2/issues
- npm.io page: https://npm.io/package/react-editable-and-draggable-text-2

## Dependencies (5)

- [clsx](https://npm.io/package/clsx.md) ^1.0.4
- [react](https://npm.io/package/react.md) ^16.11.0
- [react-dom](https://npm.io/package/react-dom.md) ^16.11.0
- [react-scripts](https://npm.io/package/react-scripts.md) 3.2.0
- [@material-ui/core](https://npm.io/package/@material-ui/core.md) ^4.6.1

## Recent versions

- 1.2.7 (latest) — 2019-12-09
- 1.2.6 — 2019-11-26
- 1.2.5 — 2019-11-22
- 1.2.4 — 2019-11-22
- 1.2.3 — 2019-11-22
- 1.2.2 — 2019-11-22
- 1.2.1 — 2019-11-21
- 1.2.0 — 2019-11-21
- 1.1.9 — 2019-11-21
- 1.1.8 — 2019-11-21
- 1.1.7 — 2019-11-21
- 1.1.6 — 2019-11-20
- 1.1.5 — 2019-11-20
- 1.1.4 — 2019-11-19
- 1.1.3 — 2019-11-19
- … 6 more at https://npm.io/package/react-editable-and-draggable-text-2/versions

## README

# React Editable Text

> This library is built as a complement to DNS Container. A library that allows you to add images and drag and scale content

[![NPM](https://img.shields.io/npm/v/image-drag-and-scale.svg)](https://www.npmjs.com/package/image-drag-and-scale) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

[![](https://media.giphy.com/media/VDHZr9ubhTmOPDHT4p/giphy.gif)](https://media.giphy.com/media/VDHZr9ubhTmOPDHT4p/giphy.gif)

## Install

```bash
npm install --save react-editable-text

# or
yarn add react-editable-text

# peer dependencies (install these separately)
# "@material-ui/core": "^4.6.1"
# "clsx": "^1.0.4",
# "image-drag-and-scale": "^1.1.5-beta.0"
```

## Usage

```jsx
import React from "react";
import "./App.css";
import Text from "./Text/text";

function App() {
  let texts = { id: "unique-1" };
  const textRef = React.useRef();

  return (
    <div className="App">
      <Text textData={texts} onUpdate={() => {}} ref={textRef} />
    </div>
  );
}

export default App;
```

# Version Update

## v1.1.3

> First release. If you find issues, please post an issue on the github

## License

MIT © [lgdelacruz92](https://github.com/lgdelacruz92)

---
_Source: https://npm.io/package/react-editable-and-draggable-text-2 · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
