BUNDLEWARE

windowBody

Function

Prepares a window component and its author-supplied props. The window host supplies close().

SignaturewindowBody<P>(component: FunctionComponent<P>, ...args: {} extends Omit<NoInfer<P>, 'close'> ? [props?: Omit<NoInfer<P>, 'close'>] : [props: Omit<NoInfer<P>, 'close'>]): WindowTarget
Take it fromconst { windowBody } = Bundleware;

Parameters

ParameterTypeDescription
componentFunctionComponent<P>
...args{} extends Omit<NoInfer<P>, 'close'> ? [props?: Omit<NoInfer<P>, 'close'>] : [props: Omit<NoInfer<P>, 'close'>]

Return Value

MemberTypeDescription
__windowTargetunique symbol

Availability

Bundleware1.0.1, build 2026.12.02