Skip to content

React Monkey is a tiny project for building Dialog-Tree chat appliactions.

Notifications You must be signed in to change notification settings

NirBenita/react-monkey

Repository files navigation

🚧 This project is under construction 🚧

React Monkey

React Monkey is a tiny project for building Dialog-Tree chat appliactions. react-monkey

It's built using React, Typescript and Styled components.

Running

This project is using create-react-app, and so to run it, simply:

  1. Clone this project
  2. yarn start/npm start

Build your own

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"
            }
        ]
    },

About

React Monkey is a tiny project for building Dialog-Tree chat appliactions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published