Skip to content

PortalOpts type

Home > @rimitive/view > PortalOpts

Options passed to Portal factory

Signature:

export type PortalOpts<TConfig extends AdapterConfig> = {
disposeScope: CreateScopes['disposeScope'];
getElementScope: CreateScopes['getElementScope'];
scopedEffect: CreateScopes['scopedEffect'];
adapter: Adapter<TConfig>;
};

References: AdapterConfig, CreateScopes, Adapter