reverse-proxy-frontend/src/features/chatbot/components/Wizard.js

22 lines
339 B
JavaScript
Raw Normal View History

2020-06-06 01:42:11 +03:00
import React from "react";
import ChatBot from "react-simple-chatbot";
const Wizard = () => {
const steps = [
{
id: "0",
message: "Welcome to react chatbot!",
trigger: "1"
},
{
id: "1",
message: "Bye!",
end: true
}
];
return <ChatBot steps={steps} />;
};
export default Wizard;