import * as React from 'react'; import { ContextualMenu, ContextualMenuItemType, IContextualMenuItem } from 'office-ui-fabric-react'; const menuItems: IContextualMenuItem[] = [ { key: 'newItem', text: 'New', }, { key: 'divider_1', itemType: ContextualMenuItemType.Divider, }, { key: 'rename', text: 'Rename', }, { key: 'edit', text: 'Edit', }, { key: 'properties', text: 'Properties', }, { key: 'linkNoTarget', text: 'Link same window', href: 'http://bing.com', }, { key: 'linkWithTarget', text: 'Link new window', href: 'http://bing.com', target: '_blank', }, { key: 'linkWithOnClick', name: 'Link click', href: 'http://bing.com', target: '_blank', }, { key: 'disabled', text: 'Disabled item', disabled: true, }, ]; const Scenario = () =>