README
@rafcin/editable
EditableText is used for inline renaming of some text. It appears as normal UI text but transforms into a text input field when the user clicks or focuses on it.
Installation
yarn add @rafcin/editable
# or
npm i @rafcin/editable
Import component
import { Editable, EditableInput, EditablePreview } from "@rafcin/react"
Usage
<Editable defaultValue="Take some fox">
<EditablePreview />
<EditableInput />
</Editable>