This commit is contained in:
当耐特 2018-05-03 13:36:10 +08:00 committed by GitHub
parent bb959bf050
commit 22d7e8718d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -64,7 +64,7 @@ class App extends Component {
}`
}
staticStyle() {
staticStyle() {
return `div{
font-size:20px;
}`
@ -72,10 +72,10 @@ class App extends Component {
render() {
return (
<div>
<Hello name={this.name}></Hello>
<h3 onclick={this.handleClick}>Scoped css and event test! click me!</h3>
</div>
<div>
<Hello name={this.name}></Hello>
<h3 onclick={this.handleClick}>Scoped css and event test! click me!</h3>
</div>
)
}
}