react-easy-edit
CtrlK
  • ➑️Getting started
  • πŸ”₯Migration Guide to v2.0.0
  • πŸ“–Props
  • πŸ‘€Examples
    • Auto Cancelling
    • Auto Submitting
    • Button Positioning
    • Custom Buttons πŸ”₯
    • Custom Display Component
    • Custom Input Component
    • Preventing Edit
    • OnBlur
    • Enable the Delete button πŸ”₯
    • Toggle edit mode for multiple components πŸ”₯
  • πŸ‘ΎStyling
  • πŸ†—Validation
  • 🀝Contribute
Powered by GitBook
On this page
  1. πŸ‘€Examples

Custom Display Component

The prop displayComponent accepts a React component that will be used to display the value that's currently stored in the EasyEdit component. The example below passes in another component that reverses the value stored.

PreviousCustom Buttons πŸ”₯NextCustom Input Component

Last updated 5 years ago