Skip to main content
  • CallBackDialog - Initiate a callback to the customer * Features: - Pre-filled phone number from customer record - Optional note for callback context - Click-to-call link for mobile/desktop softphone - Logs callback intent in system

Props

open
boolean
required
open
onOpenChange
(open: boolean) => void
required
onOpenChange
customerName
string
required
customerName
phone
string
required
phone
onCallInitiated
(note: string) => void
onCallInitiated

Usage

import { CallBackDialog } from '@/components/CallBackDialog';

export default function Example() {
  return (
    <CallBackDialog open={open} onOpenChange={onOpenChange} customerName={customerName} phone={phone} />
  );
}