SHARE
TWEET

Untitled

a guest Jun 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react';
  2. import { Placeholder } from '@sitecore-jss/sitecore-jss-react';
  3.  
  4. const Scaffold = ({rendering}) => (
  5.     <header>
  6.         <div id="content">
  7.             <Placeholder name="jss-left-row" rendering={rendering} />
  8.         </div>
  9.     </header>
  10. );
  11.  
  12. export default Scaffold;
  13.      
  14. const ContentBlock = ({ fields }) => (
  15.   <React.Fragment>
  16.     <Text tag="h2" className="display-4" field={fields.heading} />
  17.  
  18.     <RichText className="contentDescription" field={fields.content} />
  19.   </React.Fragment>
  20. );
  21.  
  22. export default ContentBlock;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top