Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react';
- import { Placeholder } from '@sitecore-jss/sitecore-jss-react';
- const Scaffold = ({rendering}) => (
- <header>
- <div id="content">
- <Placeholder name="jss-left-row" rendering={rendering} />
- </div>
- </header>
- );
- export default Scaffold;
- const ContentBlock = ({ fields }) => (
- <React.Fragment>
- <Text tag="h2" className="display-4" field={fields.heading} />
- <RichText className="contentDescription" field={fields.content} />
- </React.Fragment>
- );
- export default ContentBlock;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement