refactor(examples): update custom node example, create rich example
This commit is contained in:
@@ -2,7 +2,8 @@ import React from 'react';
|
||||
import ReactDOM from 'react-dom';
|
||||
import { BrowserRouter as Router, Route, Switch } from 'react-router-dom';
|
||||
|
||||
import CustomNodes from './CustomNodes';
|
||||
import CustomNode from './CustomNode';
|
||||
import Rich from './Rich';
|
||||
import Basic from './Basic';
|
||||
import Empty from './Empty';
|
||||
import Inactive from './Inactive';
|
||||
@@ -21,8 +22,11 @@ ReactDOM.render((
|
||||
<Route path="/inactive">
|
||||
<Inactive />
|
||||
</Route>
|
||||
<Route path="/custom-node">
|
||||
<CustomNode />
|
||||
</Route>
|
||||
<Route path="/">
|
||||
<CustomNodes />
|
||||
<Rich />
|
||||
</Route>
|
||||
</Switch>
|
||||
</Router>
|
||||
|
||||
Reference in New Issue
Block a user