Skip to content

@sqlrooms/ai / SessionActions

Function: SessionActions()

SessionActions(props): ReactNode | Promise<ReactNode>

Component that displays action buttons for session management. Shows a delete button (via DeleteSessionButton) and a create new session button.

Parameters

ParameterType
propsSessionActionsProps

Returns

ReactNode | Promise<ReactNode>

Example

tsx
<SessionActions className="my-custom-class" />