react-json-editor-ajrm-example
Advanced tools
Comparing version 1.5.3 to 1.5.4
{ | ||
"name": "react-json-editor-ajrm-example", | ||
"version": "1.5.3", | ||
"version": "1.5.4", | ||
"description": "A simple website to showcase react-json-editor-ajrm component", | ||
@@ -14,3 +14,3 @@ "author": "andrew.redican.mejia@gmail.com", | ||
"react-dom": "^16.2.0", | ||
"react-json-editor-ajrm": "^2.4.3" | ||
"react-json-editor-ajrm": "^2.4.4" | ||
}, | ||
@@ -17,0 +17,0 @@ "devDependencies": { |
@@ -5,9 +5,9 @@ import React, { Component } from 'react'; | ||
/** | ||
* Import JSONInput component | ||
* Import RJEA component | ||
*/ | ||
import JSONInput from 'react-json-editor-ajrm'; // Using distribution version in node_modules | ||
//import JSONInput from '../../src/index'; // Use source code | ||
//import JSONInput from '../../src/index'; // Using source code | ||
/** | ||
* Import some data. This is a sample object, which will be passed down to JSONInput component properperties. | ||
* Import some data. This is a sample object, which will be passed down to JSONInput placeholder properperties. | ||
* You can use placeholder to show data once, after component has mounted. | ||
@@ -24,3 +24,3 @@ */ | ||
/** | ||
* Rendeing this JSONInput component with some properties | ||
* Rendering this JSONInput component with some properties | ||
*/ | ||
@@ -34,3 +34,3 @@ return( | ||
colors = {{ | ||
string : '#DAA520' // overrides a string's theme color with whatever color value you want | ||
string : '#DAA520' // overrides theme colors with whatever color value you want | ||
}} | ||
@@ -37,0 +37,0 @@ height = '550px' |
Sorry, the diff of this file is not supported yet
7781
218