diff --git a/docs/assets/demo.png b/docs/assets/banner.png similarity index 100% rename from docs/assets/demo.png rename to docs/assets/banner.png diff --git a/docs/assets/edit-complete-1.png b/docs/assets/edit-complete-1.png deleted file mode 100644 index 319375d..0000000 Binary files a/docs/assets/edit-complete-1.png and /dev/null differ diff --git a/docs/assets/edit-init-1.png b/docs/assets/edit-init-1.png deleted file mode 100644 index 2137138..0000000 Binary files a/docs/assets/edit-init-1.png and /dev/null differ diff --git a/docs/assets/edit-input-1.png b/docs/assets/edit-input-1.png deleted file mode 100644 index ffc7169..0000000 Binary files a/docs/assets/edit-input-1.png and /dev/null differ diff --git a/docs/assets/example-usage.js b/docs/assets/example-usage.js deleted file mode 100644 index 1c975db..0000000 --- a/docs/assets/example-usage.js +++ /dev/null @@ -1,61 +0,0 @@ - -import ReactJson from 'react-json-view'; - -//you have some json to display -let my_important_json = { - test: 'this is a test string', - another_sibling: 45, - basic_array: [1, 2, 3], - how_will_floats_do: -2.757, - parent: { - sibling1: true, - sibling2: false, - sibling3: null, - sibling4: 'test', - 'last-sibling': { - grand_child: NaN, - 'grand-child-func': (a) => { - let b = 5; - return a.push(b); - } - } - }, - number: 1234 -} - -//so put it on the page! - - - -//---------------------------------------------------------------- - - -// ES6 with React -import ReactJson from 'react-json-view'; - -... - -... - - -//---------------------------------------------------------------- - - - - -... - - - - -... - \ No newline at end of file diff --git a/docs/assets/output-example-12.png b/docs/assets/output-example-12.png deleted file mode 100644 index bdfb04b..0000000 Binary files a/docs/assets/output-example-12.png and /dev/null differ diff --git a/docs/assets/output-example-14.png b/docs/assets/output-example-14.png deleted file mode 100644 index 9ee0170..0000000 Binary files a/docs/assets/output-example-14.png and /dev/null differ diff --git a/docs/assets/output-example-15.png b/docs/assets/output-example-15.png deleted file mode 100644 index 10f8c37..0000000 Binary files a/docs/assets/output-example-15.png and /dev/null differ diff --git a/docs/assets/output-example-monokai-2.png b/docs/assets/output-example-monokai-2.png deleted file mode 100644 index a71ab74..0000000 Binary files a/docs/assets/output-example-monokai-2.png and /dev/null differ diff --git a/docs/assets/output-example-solarized-2.png b/docs/assets/output-example-solarized-2.png deleted file mode 100644 index 51991c4..0000000 Binary files a/docs/assets/output-example-solarized-2.png and /dev/null differ diff --git a/docs/assets/source-example-8.png b/docs/assets/source-example-8.png deleted file mode 100644 index 602336f..0000000 Binary files a/docs/assets/source-example-8.png and /dev/null differ diff --git a/docs/assets/source-example-9.png b/docs/assets/source-example-9.png deleted file mode 100644 index 072b338..0000000 Binary files a/docs/assets/source-example-9.png and /dev/null differ diff --git a/docs/index.html b/docs/index.html index 447b5b9..663fd16 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,38 +1,21 @@ - + - RJV Demo + react-json-view + - + - - diff --git a/docs/src/js/components/Demo.js b/docs/src/js/components/Demo.js index eefe98f..7ba5dac 100644 --- a/docs/src/js/components/Demo.js +++ b/docs/src/js/components/Demo.js @@ -1,12 +1,10 @@ import React from 'react' import ReactSelect from 'react-select' import ReactJson from './../../../../src/js/index' -import GitHubButton from 'react-github-button' import Code from './../helpers/Code' import './../../style/scss/rjv-demo.scss' import 'react-select/dist/react-select.css' -import 'react-github-button/assets/style.css' // index entrypoint component class Demo extends React.PureComponent { @@ -180,21 +178,6 @@ class Demo extends React.PureComponent {
@microlink/react-json-view
- { - window.open( - 'https://github.com/microlinkhq/react-json-view', - '_blank' - ) - }} - /> -