Created
May 17, 2019 20:36
-
-
Save tmamedbekov/a40580291f3d92e9782ff41beaa5dcc9 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 { CommonFieldTypes, SitecoreIcon, Manifest } from '@sitecore-jss/sitecore-jss-manifest'; | |
export default function(manifest) { | |
manifest.addComponent({ | |
name: 'Profile', | |
icon: SitecoreIcon.DocumentTag, | |
fields: [ | |
{ name: 'avatar', type: CommonFieldTypes.Image }, | |
{ name: 'name', type: CommonFieldTypes.SingleLineText }, | |
{ name: 'title', type: CommonFieldTypes.SingleLineText }, | |
], | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment