Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Agility Tutorial for creating a react page template
import React, { Component } from 'react';
import { ContentZone } from '../agility-react'
class TwoColumnTemplate extends Component {
render() {
return (
<div className="two-column-template">
<div className="main-column">
<ContentZone name='MainContentZone' {...this.props} />
</div>
<div className="right-column">
<ContentZone name='RightContentZone' {...this.props} />
</div>
</div>
);
}
}
export default TwoColumnTemplate;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment