Skip to content

Instantly share code, notes, and snippets.

@tmamedbekov
Created May 17, 2019 20:34
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 tmamedbekov/796f16af7821752b6eba4353b28d9e71 to your computer and use it in GitHub Desktop.
Save tmamedbekov/796f16af7821752b6eba4353b28d9e71 to your computer and use it in GitHub Desktop.
import React from 'react';
import { Text, Image } from '@sitecore-jss/sitecore-jss-react';
const Profile = (props) => (
<div className="col-md-8">
<Image
field={props.fields.avatar}
className="avatar"
/>
<h1><Text field={props.fields.name} /></h1>
<h4><Text field={props.fields.title} /></h4>
</div>
);
export default Profile;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment