This is my first time using it and trying to setup a basic version in order for it to show up, the following is my setup, let me know if I did something wrong, thanks.
import React, { PropTypes } from 'react';
import { default as CodeMirror } from 'react-codemirror';
require('codemirror/mode/javascript/javascript');
const codeTypes = {
javascript: 'var welcome = {\n\tmode: "javascript"\n};'
};
This is my first time using it and trying to setup a basic version in order for it to show up, the following is my setup, let me know if I did something wrong, thanks.
And the following is the render function
And I do see the code generated, but my screen is blank, am I missing something ?