1.1.0 • Published 3 years ago

docubot-client v1.1.0

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

3 years ago

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago