ducky/web

Paddy 2015-05-29 Parent:99a43a6d1d30

3:7ae5dd64c482 Go to Latest

ducky/web/src/pages/message.jsx

Stop ignoring our build folder. Now that our HTML lives in our build folder, we should probably stop ignoring it. This means that an `hg clone` followed by an `npm install` followed by an `npm run deploy` will work. I hope.

History
1 import React from 'react'
3 export default React.createClass({
4 displayName: 'ErrorPage',
6 propTypes: {
7 title: React.PropTypes.string,
8 message: React.PropTypes.string.isRequired
9 },
11 render () {
12 const {title, message} = this.props
13 return (
14 <div>
15 <h1>{title}</h1>
16 <p>{message}</p>
17 </div>
18 )
19 }
20 })