86808bbce2
* Add basePath support * Add tests including copy of HMR tests * Add production tests * Add tests for serverless target * Add missing quotes
13 lines
256 B
JavaScript
13 lines
256 B
JavaScript
import React from 'react'
|
|
import PropTypes from 'prop-types'
|
|
|
|
export default class extends React.Component {
|
|
static contextTypes = {
|
|
data: PropTypes.object,
|
|
}
|
|
|
|
render() {
|
|
const { data } = this.context
|
|
return <div>{data.title}</div>
|
|
}
|
|
}
|