1.1.0 • Published 2 years ago

docubot-client v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Client Components for DocuBot

Install:

npm install docubot-client

Usage

import {Docubot} from 'docubot-client';

// Add the styled component from docubot to your page eg:

const Home = () => {
    return (
        <div class="w-screen h-screen p-20">
            <DocuBot
            headerColour={"#3E3E3E"}
            headerText={"DocuBot"}
            headerTextColour={"white"} 
            headerImage={"YOUR_IMAGE_URL"} 
            backgroundColour={"#FFFDFD"}
            placeHolderText={"Ask a question..."}
            inputColour={"#E2E2E2"}
            sendButtonColour={"#746F6F"}
            loaderBackgroundColour={"black"}
            messageBoxBackgroundColour={"#D9D9D9"} 
            loader={"flow"}
            userIconColour={"black"}
            iconBoxColour={"#D9D9D9"} 
            showLineNumbers={false} 
            codeTheme={"dracula"}
            messageSendBoxType={"input"}
            sendIconColour={"white"}
            messageTextColour={"black"}
            docKey={"YOUR_API_KEY"}
            />
        </div>
    )
}

export default Home;

// The chatBot will fill the space that it is given, so you can add it anywhere in your app.
1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago