{"repo":"alioguzhan/react-editext","free":true,"listed":false,"github":"https://github.com/alioguzhan/react-editext","clone":"git clone https://github.com/alioguzhan/react-editext.git","description":"Editable Text Component for React Apps","language":"TypeScript","stars":307,"topics":["react","editable","text-editor","editext"],"license":"MIT","category":"ui-components","readme_excerpt":"react-editext Editable Text Component for React Applications This project is generated from react-typescript-library template. Install Or with yarn: Usage EdiText is highly customizable. You can see more examples here. Here is a basic usage: There is also a codesandbox template that you can fork and play with it: You can customize almost everything based on your needs. Please navigate to Props section. I mean, just scroll down. Props Prop Type Required Default Note ---------------------- ------------------- -------- ------------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ value string Yes Value of the content and input [in edit mode] onSave function Yes Function will be called when save button clicked. value and inputProps are passed to cb. type string No text Input type. Possible options are: text , password , number , email , textarea , date , datetime-local , time , month , url , week , tel hint node No '' A simple hint message appears at the bottom of input element. Any valid element is allowed. inputProps object No Props to be passed to input element. Any kind of valid DOM attributes are welcome. viewProps object No Props to be passed to div element that shows the text. You can specify your own styles or className containerProps object No Props to be passed to div element that is container for all elements. You ","default_branch":null,"files":null,"tree":[],"storefront":"/r/alioguzhan","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alioguzhan/react-editext/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}