Sha256: c1a03a4690909c511f29bae3be03a29354cac3b8d38309c2c081a432cf28ed87

Contents?: true

Size: 645 Bytes

Versions: 5

Compression:

Stored size: 645 Bytes

Contents

import React from 'react';
import { observer } from 'mobx-react';
import Screen from 'hippo/components/screen';

@observer
export default class <%= screen_class %> extends React.PureComponent {

    static propTypes = {
        screen: React.PropTypes.instanceOf(Screen.Instance).isRequired,
    }

    render() {
        return (
            <Screen screen={this.props.screen}>
                <div className="fancy-header">
                    <h1>Hello bright shiny world</h1>
                    <h2>Served by the <%=namespace%> extension&rsquo;s <%= class_name %> screen</h2>
                </div>
            </Screen>
        );
    }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hippo-fw-0.9.5 templates/client/screens/screen.jsx
hippo-fw-0.9.4 templates/client/screens/screen.jsx
hippo-fw-0.9.3 templates/client/screens/screen.jsx
hippo-fw-0.9.2 templates/client/screens/screen.jsx
hippo-fw-0.9.1 templates/client/screens/screen.jsx