Skip to content

@sqlrooms/ai / SessionActions

Function: SessionActions()

SessionActions(props, deprecatedLegacyContext?): ReactNode

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

Parameters

ParameterTypeDescription
propsSessionActionsProps-
deprecatedLegacyContext?anyDeprecated See React Docs

Returns

ReactNode

Example

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