Closed salahbm closed 10 months ago
function handleEnd(steps: any, values: any) {
console.log(steps);
console.log(values);
}
<ChatBot
steps={steps}
handleEnd={(steps: any, values: any) => handleEnd(steps, values)} />
I found out the answer, in case someone needs there is code
I want to store the options' selected value in state but none of the methods are helping : (