web-basics-framework-template
Version:
Web Basics Framework Template
25 lines (20 loc) • 441 B
JavaScript
;
/**
* ProjectName: web-basics-framework-template
* ProjectDescription: Web Basics Framework Template
* ProjectAuthor: lZiMUl
*/
class App extends React.Component {
constructor(configs) {
super (configs);
}
toAuthor() {
location.href = 'https://b23.tv/vUMYbj';
}
render() {
return (
<p onClick={this.toAuthor}>😂 😂 😂 😂 😂</p>
)
}
}
ReactDOM.render(<App />, document.getElementById('app'));