Created
May 17, 2019 20:34
-
-
Save tmamedbekov/796f16af7821752b6eba4353b28d9e71 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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