npm.io
0.1.0-alpha.2 • Published 6 years ago

@bianic-ui/editable

Licence
MIT
Version
0.1.0-alpha.2
Deps
2
Size
107 kB
Vulns
0
Weekly
0

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

# or

npm i @bianic-ui/editable

Import component

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

Usage

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

Keywords