UNPKG

@botonic/react

Version:

Build Chatbots using React

10 lines 827 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const jsx_runtime_1 = require("react/jsx-runtime"); const react_1 = require("react"); const constants_1 = require("../../constants"); const styles_1 = require("./styles"); const TypingIndicator = (0, react_1.forwardRef)((_props, ref) => ((0, jsx_runtime_1.jsx)(styles_1.TypingContainer, { ref: ref, children: (0, jsx_runtime_1.jsxs)(styles_1.TypingMsgWrapper, { role: constants_1.ROLES.TYPING_INDICATOR, className: 'typing-indicator', backgroundColor: constants_1.COLORS.SEASHELL_WHITE, children: [(0, jsx_runtime_1.jsx)(styles_1.Dot, {}), (0, jsx_runtime_1.jsx)(styles_1.Dot, {}), (0, jsx_runtime_1.jsx)(styles_1.Dot, {})] }) }))); TypingIndicator.displayName = 'TypingIndicator'; exports.default = TypingIndicator; //# sourceMappingURL=index.js.map