For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt, and this page is available as Markdown at /next/api/genui/openui/core/interfaces/ComponentRenderProps.md.
Lynx
  • English
  • Interface: ComponentRenderProps<P = Record<string, unknown>>

    Props passed to an OpenUI ReactLynx component renderer.

    Extends

    • ComponentRenderProps<P, ReactNode>

    Type Parameters

    Type ParameterDefault type
    PRecord<string, unknown>

    Properties

    onAction?

    optional onAction?: (event: ActionEvent) => void

    Parameters

    ParameterType
    eventActionEvent

    Returns

    void


    props

    props: P

    Inherited from

    CoreRenderProps.props


    renderNode

    renderNode: (value: unknown) => ReactNode

    Parameters

    ParameterType
    valueunknown

    Returns

    ReactNode

    Inherited from

    CoreRenderProps.renderNode


    statementId?

    optional statementId?: string

    The statement ID from the parsed program (e.g., "header", "prose1"). Undefined for inline components.

    Inherited from

    CoreRenderProps.statementId

    Except as otherwise noted, this work is licensed under a Creative Commons Attribution 4.0 International License, and code samples are licensed under the Apache License 2.0.