Module / v1.0.0-beta.13

@typed/ui/Dom/Props

9 unique exports available through this public import path, including their members and aliases.

Learn this UI primitive →

import * as Props from "@typed/ui/Dom/Props";

Internal prop defaults

Prop composition

  • HostOptionProps

    type-alias

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

  • MergedHostProps

    type-alias

    Type-level result of merging user and component-owned host props.

  • RenderHostProps

    type-alias

    Final props delivered to a default or custom host renderer.

  • mergeProps

    function

    Merges user host props with component-required internal props.

Prop forwarding

  • ForwardedHostKeys

    type-alias

    Option keys forwarded directly to a component host.

  • ForwardedHostProps

    type-alias

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

  • forwardHostProps

    function

    Extracts top-level refs and event handlers from component options.

Property inspection

  • getProperty

    function

    Reads a property from an unknown generic value without throwing on nullish input.