1.1.0 • Published 11 months ago

docubot-client v1.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months 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

11 months ago

1.0.9

11 months ago

1.0.8

11 months ago

1.0.7

11 months ago

1.0.6

11 months ago

1.0.5

11 months ago

1.0.4

11 months ago

1.0.3

11 months ago

1.0.2

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago