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 ​
| Parameter | Type | Description |
|---|---|---|
props | { children?: any; } | - |
props.children? | any | Timeline wrapper component. Children are Message components that will be added to the timeline. |