1.0.2 • Published 3 years ago

@chakra-xui/editable v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
3 years ago

@chakra-xui/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 @chakra-xui/editable

# or

npm i @chakra-xui/editable

Import component

import { Editable, EditableInput, EditablePreview } from "@chakra-xui/react"

Usage

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