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

HostOptionProps

User host props after combining nested props with top-level refs/events.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Prop composition
Since
1.0.0

Import

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

Signatures

export type HostOptionProps<Options> = MergedHostProps<Property<Options, "props">, ForwardedHostProps<Options>>;

Why

Gives both supported authoring forms one deterministic merge model.

Ownership and lifetime

Type-only; runtime ownership begins when the host renders.

Source