type-alias / @typed/ui/Dom/Props

ForwardedHostProps

Top-level event and ref props selected from component options.

Learn this UI primitive →

Package version
1.0.0-beta.13
Category
Prop forwarding
Since
1.0.0

Import

import type { ForwardedHostProps } from "@typed/ui/Dom/Props";

Signatures

export type ForwardedHostProps<Options> = Pick<ObjectValue<Options>, ForwardedHostKeys<Options>>;

Why

Provides the exact forwarded subset used by renderHost.

Ownership and lifetime

Type-only; the rendered host owns listener/ref lifetime.

Source