Askr
Generated API snapshot

@askrjs/askr/foundations/structures

Exports from the declarations published in @askrjs/askr 0.0.59. Signatures are generated from the installed artifact.

  • @askrjs/askr/foundations/structures0.0.59

Exports

This entrypoint publishes 18 exports. Use the anchored symbol rows for direct links. Type-only exports are labeled separately from runtime values.

createCollectiontype

createCollection: <TNode, TMetadata = unknown>() => Collection<TNode, TMetadata>

definePortaltype

definePortal: <T extends RenderableChild = RenderableChild>() => Portal<T>

layouttype

layout: <P = object>(Layout: LayoutComponent<P>) => (children?: RenderableChild, props?: P) => unknown

Portaltype

Portal: (props: PortalProps) => null

Presencetype

Presence: ({ present, children }: PresenceProps) => JSXElement | null

Slottype

Slot: (props: SlotProps) => JSXElement | null