@mikezimm/fps-core-v7
Version:
Library of reusable core interfaces, types and constants migrated from fps-library-v2
32 lines (31 loc) • 1.01 kB
TypeScript
/**
* CodeAnalizerComment: Updated 1 imports on 2024-09-21 23:07:24
* Update:: import { IPinMeState } to '@mikezimm/fps-core-v7/lib/banner/features/PinMe/Interfaces;'
*/
import { IPinMeState } from "../features/PinMe/Interfaces";
/**
* Use this to extend the default react component state WITHOUT PinMe option
*
* Usage:
* export interface IYourComponentState extends IFPSCoreReactComponentState {
*
*/
export interface IFPSCoreReactComponentState {
showDevHeader: boolean;
lastStateChange: string;
analyticsWasExecuted: boolean;
refreshId: string;
debugMode?: boolean;
showSpinner?: boolean;
}
/**
* Use this to extend the default react component state WITH PinMe option
*
* Usage:
* export interface IYourComponentState extends IFPSCorePinMeReactComponentState {
*
*/
export interface IFPSCorePinMeReactComponentState extends IFPSCoreReactComponentState {
pinState: IPinMeState;
}
//# sourceMappingURL=ReactComponentState.d.ts.map