npm.io
1.0.0-rc.9 • Published 5 years ago

@hackr/chakra-ui-editable

Licence
MIT
Version
1.0.0-rc.9
Deps
2
Size
9 kB
Vulns
0
Weekly
0
Stars
40.7K

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

# or

npm i @chakra-ui/editable

Import component

import { Editable, EditableInput, EditablePreview } from "@chakra-ui/core"

Usage

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

Keywords