1.3.2 • Published 2 years ago

@hakuna-matata-ui/editable v1.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@hakuna-matata-ui/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 @hakuna-matata-ui/editable

# or

npm i @hakuna-matata-ui/editable

Import component

import {
  Editable,
  EditableInput,
  EditablePreview,
} from "@hakuna-matata-ui/react"

Usage

<Editable defaultValue="Take some chakra">
  <EditablePreview />
  <EditableInput />
</Editable>