]> Untitled Git - lemmy-ui.git/blob - src/client/components/Home/Home.tsx
Adding prettier
[lemmy-ui.git] / src / client / components / Home / Home.tsx
1 import { Component } from 'inferno';
2 interface IState {}
3 interface IProps {}
4 export default class Home extends Component<IProps, IState> {
5   constructor(props) {
6     super(props);
7   }
8   protected click() {
9     /**
10      * Try to debug next line
11      */
12     console.log('hi');
13   }
14   public render() {
15     return (
16       <div>
17         Home page
18         <button onClick={this.click}>Click me</button>
19       </div>
20     );
21   }
22 }