update readme

This commit is contained in:
dntzhang 2018-11-17 16:11:52 +08:00
parent 831486f8db
commit a6120959b9
1 changed files with 4 additions and 1 deletions

View File

@ -22,7 +22,10 @@ define('my-app', class extends WeElement {
return (
<div>
<h1>Omi</h1>
<omi-canvas width={400} height={400} css='border: 1px solid #ccc;'>
<omi-canvas
width={400}
height={400}
css='border: 1px solid #ccc;'>
<text
text='Hello omi-canvas'
font='30px Segoe UI'