Skip to content

Instantly share code, notes, and snippets.

@ShaileshPrajapati-BTC
Created March 25, 2019 06:00
Show Gist options
  • Save ShaileshPrajapati-BTC/4321ccb5c93899adcfb66ba78dc0abc0 to your computer and use it in GitHub Desktop.
Save ShaileshPrajapati-BTC/4321ccb5c93899adcfb66ba78dc0abc0 to your computer and use it in GitHub Desktop.
import ChatBot from 'react-native-chatbot';
const steps = [
{
id: '0',
message: 'Welcome to react chatbot!',
trigger: '1',
},
{
id: '1',
message: 'Bye!',
end: true,
},
];
<ChatBot steps={steps} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment