UNPKG

@seplan/diti-ds

Version:

Reusable UI component library developed by DITI (Technology and Innovation Directorate of SEPLAN PI) based on Mantine and Tailwind CSS

15 lines 513 B
interface ClientWrapperProps { children: React.ReactNode; fallback?: React.ReactNode; } /** * Wrapper para componentes que usam hooks React * Resolve problemas de SSR garantindo que o componente só renderize no cliente */ export declare function ClientWrapper({ children, fallback }: ClientWrapperProps): import("react/jsx-runtime").JSX.Element; /** * Hook para detectar se estamos no cliente */ export declare function useIsClient(): boolean; export {}; //# sourceMappingURL=client-wrapper.d.ts.map