diff options
author | Christian Pointner <equinox@helsinki.at> | 2016-09-28 19:26:51 (GMT) |
---|---|---|
committer | Christian Pointner <equinox@helsinki.at> | 2016-09-28 19:26:51 (GMT) |
commit | ea3ef4df505273827bf2c1e4eef5e9716e9746b0 (patch) | |
tree | afd65e511c94d6b1df9602cdc4cf34d69c6f49f5 /src/clockView.js | |
parent | 8ca2b1d7e9c6f142c2d89f33b41a164a0eadf702 (diff) |
restructering components
Diffstat (limited to 'src/clockView.js')
-rw-r--r-- | src/clockView.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/clockView.js b/src/clockView.js deleted file mode 100644 index 61a13f4..0000000 --- a/src/clockView.js +++ /dev/null @@ -1,14 +0,0 @@ -var ClockView = React.createClass({ - render: function() { - return ( - <p> - Hello, <input type="text" placeholder="Your name here" />! - It is {this.props.date.toTimeString()} - </p> - ); - } -}); - -setInterval(function() { - ReactDOM.render(<ClockView date={new Date()} />, document.getElementById('clock')); -}, 500); |