🚧 This project is under construction 🚧
React Monkey is a tiny project for building Dialog-Tree chat appliactions.
It's built using React, Typescript and Styled components.
This project is using create-react-app, and so to run it, simply:
- Clone this project
yarn start
/npm start
The app accepts an array of "Message" objects, each containing a message to view, and a list of possible replies.
{
// Use these to point specific messages from the conversation
id: 'what',
// This is the content of the message to be displayed ( + Markdown! )
value: 'React Monkey is a tiny project for building **Dialog-Tree** chat appliactions.',
// You can point to another message to break text down into smaller chunks
chain: 'monkeyIsland',
// This is the repleis that will be avilable to the user
replies: [
{
value: "Why would I need that?",
next: "why"
},
{
value: "Ah, finally!",
next: "finally"
}
]
},