import * as React from 'react'; import { Menu, menuAsToolbarBehavior, MenuItemProps, ShorthandCollection } from '@fluentui/react-northstar'; import { FormatIcon, PaperclipIcon, EmojiIcon, GiphyIcon, StickerIcon, VideoCameraEmphasisIcon, SettingsIcon, MoreIcon, BookmarkIcon, TranslationIcon, TrashCanIcon, MarkAsUnreadIcon, } from '@fluentui/react-icons-northstar'; const items: ShorthandCollection = [ { icon: ( ), key: 'format', 'aria-label': 'Format Tool', }, { icon: ( ), key: 'paperclip', 'aria-label': 'Paperclip Tool', }, { icon: ( ), key: 'emoji', disabled: true, 'aria-label': 'Emoji Tool', }, { icon: ( ), key: 'giphy', 'aria-label': 'Giphy tool', }, { icon: ( ), key: 'sticker', 'aria-label': 'Sticker Tool', }, { icon: ( ), key: 'meetup', 'aria-label': 'Meetup Tool', }, { icon: ( ), key: 'settings', 'aria-label': 'Settings', }, { icon: ( ), key: 'menuButton2', 'aria-label': 'More options', indicator: false, menu: { items: [ { key: '5', content: 'item1', icon: , }, { key: 'divider', kind: 'divider', }, { key: '6', content: 'item2', icon: , }, { key: '7', content: 'item3', disabled: true, icon: , }, { key: 'divider2', kind: 'divider', }, { key: '8', content: 'item3', icon: , }, ], }, }, ]; const MenuExampleToolbarShorthand = () => ( ); export default MenuExampleToolbarShorthand;