react-json icon indicating copy to clipboard operation
react-json copied to clipboard

Feature request: Ability to specify custom components for types

Open adrianhelvik opened this issue 8 years ago • 1 comments

I really like your library. However, I am currently monkey patching it to be able to bypass the 100letter rule of the string type. It would be nice to specify a custom component for all types. If I could I would integrate this plugin with a nice text editor.

adrianhelvik avatar Feb 16 '17 14:02 adrianhelvik

Hey @adrianhelvik

It's been a while since I last used react-json, but have you tried to redefine the string type using:

https://github.com/arqex/react-json/blob/master/docs/customFieldTypes.md

I know that you can add custom components but I am not sure if you can redefine them

arqex avatar Feb 16 '17 14:02 arqex