Installation
Usage
Content Editable
When in content editable mode the user can click on the text to start editing it.
External Control
You can put the Rename component into edit mode by using the Edit component or by setting the mode prop to 'edit'.
API Reference
Rename.
Root
Inline rename component that toggles between a text view and an input for editing.
Rename.
Provider
Context provider enabling external Edit/Cancel/Save buttons to control the current Rename input.
Rename.
Edit
Button that switches the current Rename input into edit mode.
Rename.
Cancel
Button that cancels editing and returns to view mode.
Rename.
Save
Button that triggers save on the current Rename input.