var
myStyle = {
"font-size"
:
"14px"
,
"color"
"#FF0000"
}
return
(
<div classname=
"App"
>
<h1 style=
"{myStyle}"
>你好react</h1>
</div>
);