Skip to content

Instantly share code, notes, and snippets.

@joelvarty
Created September 5, 2019 16:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joelvarty/bfb4a78919f6ddd528d9918d9870c10c to your computer and use it in GitHub Desktop.
Save joelvarty/bfb4a78919f6ddd528d9918d9870c10c to your computer and use it in GitHub Desktop.
React Page Template Component Example
import React, { Component } from 'react';
import { ContentZone } from '../agility-react'
class OneColumnTemplate extends Component {
render() {
return (
<div className="one-column-template">
<ContentZone name='MainContentZone' {...this.props} />
</div>
);
}
}
export default OneColumnTemplate;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment