UNPKG

feedbacker-react

Version:

A drop-in React feedback system for component-level feedback capture during development and design review

33 lines 1.04 kB
/** * FiberStrategy - Direct React fiber inspection for component detection * Used when DevTools are not available but React fiber data is accessible */ import { DetectionStrategy } from '../DetectionStrategy'; import { ComponentInfo } from '../../types'; export declare class FiberStrategy extends DetectionStrategy { /** * Detect component by directly inspecting React fiber */ protected detect(element: HTMLElement): ComponentInfo | null; /** * Extract component name from hybrid path */ private extractComponentNameFromPath; /** * Extract component name from React fiber */ private getComponentNameFromFiber; /** * Check if component name is valid and not a wrapper */ private isValidComponentName; /** * Extract name from a single fiber node */ private extractNameFromFiber; /** * Handle special React component types (forwardRef, memo, etc.) */ private handleSpecialReactTypes; } //# sourceMappingURL=FiberStrategy.d.ts.map