UNPKG

@hadyfayed/filament-react-wrapper

Version:

Enterprise React integration for Laravel/Filament - Smart asset loading, 90%+ React-PHP function mapping, no-plugin Filament integration

38 lines 1.11 kB
export declare class FilamentReactAdapter { static scanTimeout: number | null; static mutationObserver: MutationObserver | null; /** * Initialize React components in Filament context */ static initializeComponents(): void; /** * Scan DOM for React component containers and render them */ private static scanAndRenderComponents; /** * Render a single React component */ private static renderComponent; /** * Setup mutation observer to handle dynamically added components */ private static setupMutationObserver; /** * Cleanup method to prevent memory leaks */ static cleanup(): void; /** * Create a Filament form field wrapper for React components */ static createFormField(options: { component: string; statePath: string; props?: Record<string, any>; containerId?: string; }): HTMLElement; /** * Handle Livewire component updates */ static handleLivewireUpdate(event: CustomEvent): void; } //# sourceMappingURL=FilamentReactAdapter.d.ts.map