react-easy-edit
  • ➡️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

PreviousCustom Buttons 🔥NextCustom Input Component

Last updated 5 years ago

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.

👀