@hakuna-matata-ui/editable
v1.3.2
Published
React component used to build inline-editable components
Downloads
5
Maintainers
Readme
@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>