UNPKG

@mikezimm/fps-library-v2

Version:

Library of reusable typescript/javascript functions, interfaces and constants

14 lines (13 loc) 660 B
/** * CodeAnalizerComment: Updated 1 imports on 2024-09-22 14:49:52 * Update:: import { IWebpartBannerProps } to '@mikezimm/fps-core-v7/lib/banner/mainReact/IWebpartBannerProps;' */ import * as React from 'react'; import { Icon } from '@fluentui/react/lib/Icon'; export function addEasyPagesIcon(nearElements, bannerProps, _toggleEasyLinks) { if (bannerProps.easyPagesExtraProps.EasyPagesEnable === true) { nearElements.push(React.createElement(Icon, { key: 'Link12', iconName: 'Link12', onClick: _toggleEasyLinks, style: bannerProps.bannerCmdReactCSS })); } return nearElements; } //# sourceMappingURL=easyPagesIcon.js.map