@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
12 lines (11 loc) • 614 B
JavaScript
/**
* 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 addGearIcon(nearElements, bannerProps, onClickShowSettings) {
nearElements.push(React.createElement(Icon, { iconName: 'PlayerSettings', onClick: onClickShowSettings, style: bannerProps.bannerCmdReactCSS, title: "Show Settings quick links and info" }));
return nearElements;
}
//# sourceMappingURL=gearIcon.js.map