securityos/node_modules/next/dist/shared/lib/side-effect.d.ts

12 lines
418 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import type React from 'react';
type State = JSX.Element[] | undefined;
export type SideEffectProps = {
reduceComponentsToState: <T extends {}>(components: Array<React.ReactElement<any>>, props: T) => State;
handleStateChange?: (state: State) => void;
headManager: any;
inAmpMode?: boolean;
children: React.ReactNode;
};
export default function SideEffect(props: SideEffectProps): null;
export {};