UNPKG

custom-chatbot-app

Version:

This is my custom chatbot package for BuyersEdge

19 lines 1.11 kB
import React from 'react'; import { StyledWrapper, StyledTopBar, StyledHeading, StyledTopBarHeading, StyledContent, StyledButton } from './styled'; import { svgs } from '../../utils/svgs'; var SuggestionBox = function (_a) { var setChatContainer = _a.setChatContainer, welcomeModalHeight = _a.welcomeModalHeight, welcomeModalWidth = _a.welcomeModalWidth; var handleClick = function () { setChatContainer(true); }; return (React.createElement(React.Fragment, null, React.createElement(StyledWrapper, { welcomeModalHeight: welcomeModalHeight, welcomeModalWidth: welcomeModalWidth }, React.createElement(StyledTopBar, null, svgs.messageIcon, React.createElement(StyledTopBarHeading, null, "What can we help you with?")), React.createElement(StyledContent, null, React.createElement(StyledHeading, null, "Start a conversation!"), React.createElement(StyledButton, { onClick: function () { handleClick(); } }, "Chat Now"))))); }; export default SuggestionBox; //# sourceMappingURL=index.js.map