@hakuna-matata-ui/editable
TypeScript icon, indicating that this package has built-in type declarations

1.3.2 • Public • Published

@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>

Package Sidebar

Install

npm i @hakuna-matata-ui/editable

Weekly Downloads

1

Version

1.3.2

License

MIT

Unpacked Size

59.4 kB

Total Files

16

Last publish

Collaborators

  • cryptocom