Skip to content

Commit e5ca788

Browse files
committed
Update README.md
1 parent c58315a commit e5ca788

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,6 @@ There are two examples in the [Custom Component Library](https://github.com/Carl
10141014
- [Date Object](https://github.com/CarlosNZ/json-edit-react/tree/main/custom-component-library/components/DateObject)
10151015
- ["Enhanced" link](https://github.com/CarlosNZ/json-edit-react/tree/main/custom-component-library/components/EnhancedLink) (object with "url" and "text" fields, displayed as clickable string)
10161016
1017-
10181017
## Custom Text
10191018
10201019
It's possible to change the various text strings displayed by the component. You can [localise it](#localisation), but you can also specify functions to override the displayed text based on certain conditions. For example, say we want the property count text (e.g. `6 items` by default) to give a summary of a certain type of node, which can look nice when collapsed. For example (taken from the [Demo](https://carlosnz.github.io/json-edit-react/?data=customNodes)):

0 commit comments

Comments
 (0)