Skip to content

InputRequestContent

@waldiez/react v0.7.1


InputRequestContent = object

Defined in: components/stepByStep/event_types.ts:32

PropertiesΒΆ

prompt?ΒΆ

optional prompt: string

Defined in: components/stepByStep/event_types.ts:33


request_id?ΒΆ

optional request_id: string

Defined in: components/stepByStep/event_types.ts:35

Your backend should use this to route the response back to the pending request


respond()?ΒΆ

optional respond: (text) => void

Defined in: components/stepByStep/event_types.ts:37

Provide a responder for local mock, else use onRespond prop

ParametersΒΆ
textΒΆ

string

ReturnsΒΆ

void