12 lines
418 B
TypeScript
12 lines
418 B
TypeScript
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 {};
|