import type { Dispatch, ReactElement, RefAttributes, SetStateAction } from 'react'; export interface ActiveInjectedProps { isActive: boolean; setIsActive: Dispatch>; } export type ActiveBoundaryInjectedProps = ActiveInjectedProps; export type ActiveChildProps = Partial & RefAttributes; export interface ActiveProps { children: ReactElement; } export interface ActiveBoundaryProps { children: ReactElement; }