1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-08-28 01:19:52 +02:00

clean up examples

This commit is contained in:
Ian Storm Taylor
2016-07-13 16:19:49 -07:00
parent 9793b11140
commit ab12518a4b
8 changed files with 298 additions and 126 deletions

View File

@@ -6,7 +6,7 @@ import initialState from './state.json'
import { Map } from 'immutable'
/**
* Node renderers.
* Define a set of node renderers.
*
* @type {Object}
*/
@@ -29,6 +29,12 @@ const NODES = {
class Images extends React.Component {
/**
* Deserialize the raw initial state.
*
* @type {Object}
*/
state = {
state: Raw.deserialize(initialState)
};