JSPM

@chakra-ui/editable

0.0.0-dev-20220813083358
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 385525
  • Score
    100M100P100Q186685F
  • License MIT

React component used to build inline-editable components

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@chakra-ui/editable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    @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/react"

    Usage

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