@connectycube/chat-widget
Version:
A customizable React chat widget built on the ConnectyCube platform, enabling real-time messaging, calls, and user engagement in any web app.
22 lines • 953 B
TypeScript
import * as React from 'react';
type PresenceStatus = 'available' | 'busy' | 'away' | 'unknown' | undefined;
interface PresenceProps extends React.ComponentProps<'div'> {
badge?: boolean;
status: PresenceStatus;
label: string;
badgeProps?: PresenceBadgeProps;
labelProps?: React.ComponentProps<'span'>;
}
interface PresenceBadgeProps extends React.ComponentProps<'svg'> {
status?: PresenceStatus;
}
declare function PresenceBadge({ status, ...props }: PresenceBadgeProps): import("react/jsx-runtime").JSX.Element | null;
declare namespace PresenceBadge {
var displayName: string;
}
declare function Presence({ badge, status, label, badgeProps, labelProps, ...props }: PresenceProps): import("react/jsx-runtime").JSX.Element;
declare namespace Presence {
var displayName: string;
}
export { Presence, PresenceBadge, type PresenceStatus, type PresenceProps, type PresenceBadgeProps };
//# sourceMappingURL=presence.d.ts.map