@botonic/react
Version:
Build Chatbots using React
8 lines • 657 B
JavaScript
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { forwardRef } from 'react';
import { COLORS, ROLES } from '../../constants';
import { Dot, TypingContainer, TypingMsgWrapper } from './styles';
const TypingIndicator = forwardRef((_props, ref) => (_jsx(TypingContainer, Object.assign({ ref: ref }, { children: _jsxs(TypingMsgWrapper, Object.assign({ role: ROLES.TYPING_INDICATOR, className: 'typing-indicator', backgroundColor: COLORS.SEASHELL_WHITE }, { children: [_jsx(Dot, {}), _jsx(Dot, {}), _jsx(Dot, {})] })) }))));
TypingIndicator.displayName = 'TypingIndicator';
export default TypingIndicator;
//# sourceMappingURL=index.js.map