@tempots/ui
Version:
Provides a higher level of renderables to help fast development with Tempo.
14 lines (13 loc) • 531 B
TypeScript
import { HeadlessContext } from '@tempots/dom';
import { LocationData } from './location-data';
export declare const isAbsoluteURL: (url: string) => boolean;
/**
* Provides the location context to the child component.
* @param child - The child component to be wrapped with the location context.
* @returns The wrapped component with the location context.
* @public
*/
export declare const makeHeadlessLocationProp: (ctx: HeadlessContext) => {
value: import('@tempots/dom').Prop<LocationData>;
dispose: () => void;
};