UNPKG
micro-editor
Version:
latest (1.0.0-beta)
1.0.0
1.0.0-beta
1. npm install
micro-editor
/
src
/
app.jsx
14 lines
(13 loc)
•
249 B
JSX
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import
React
from
'react'
;
import
{ render }
from
"react-dom"
;
import
Editor
from
'@/components/photo-editor'
;
render
(
<
div
>
Editor
<
Editor
>
</
Editor
>
</
div
>
,
document
.
getElementById
(
'app'
) );
if
(
module
.
hot
) {
module
.
hot
.
accept
(); }