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 Buttons 🔥

PreviousButton PositioningNextCustom Display Component

Last updated 4 years ago

The saveButtonLabel, cancelButtonLabel and deleteButtonLabel control what's displayed as a label for all buttons available on each EasyEdit component to the user. You can just simply pass in a string to change the label or you could pass another react component in it. In the example below, we use the popular library FontAwesome to change both the Save and Cancel buttons of an EasyEdit component.

👀