Skip to content

AIDK API Reference / aidk/jsx / Timeline

Function: Timeline() ​

ts
function Timeline(props: {
  children?: any;
}): Element;

Defined in: packages/core/src/jsx/components/primitives.ts:11

Timeline primitive component. Wraps Message components to explicitly declare timeline entries. When used in JSX: <Timeline><Message role="user" content="..." /></Timeline>

Parameters ​

ParameterTypeDescription
props{ children?: any; }-
props.children?anyTimeline wrapper component. Children are Message components that will be added to the timeline.

Returns ​

Element

Released under the MIT License.