@tempots/ui

ProvideLocation() function

Provides the location context to the child component.

Signature:

ProvideLocation: (child: TNode) => import('@tempots/dom').Renderable

Parameters

Parameter

Type

Description

child

TNode

The child component to be wrapped with the location context.

Returns: import('@tempots/dom').Renderable

The wrapped component with the location context.