UNPKG

@mikezimm/fps-library-v2

Version:

Library of reusable typescript/javascript functions, interfaces and constants

14 lines (13 loc) 579 B
/** * CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24 * Update:: import { IPinMeState } to '@mikezimm/fps-core-v7/lib/banner/features/PinMe/Interfaces;' */ export function getForceNarrow(pinState, updatePinState) { let forceNarrowStyles = pinState === 'pinFull' || pinState === 'pinMini' ? true : false; //If there is no updatePinState function, then the web part does not use it so ignore this code. if (!updatePinState) { forceNarrowStyles = false; } return forceNarrowStyles; } //# sourceMappingURL=CheckNarrow.js.map