➡️Getting started
A React library that allows inline editing on HTML5 input components
📝 Features
Supports
input(most types, even inputs withdatalist),textareaandselectHTML typesValidates user input via a user-defined validation function
Allows customisation on all elements including the save and cancel buttons
Supports custom editComponent and custom displayComponent for each type
🚀Installation
With NPM
$ npm i react-easy-editWith Yarn
$ yarn add react-easy-edit... and that's it, you are ready to go.
A simple example - Textbox
React-easy-edit supports most html input types like text, number, color, date, datetime-local,time , month, week, radio, email, checkbox,range ,datalist as well as textarea and select
If you want to just play around with this library, feel free to try the sandbox here!
📜 Licence
Copyright © 2023 George Artemiou.
This project is MIT licensed.
Last updated