Skip to main content
SmartFillPreviewDialog component

Props

open
boolean
required
open
onOpenChange
(open: boolean) => void
required
onOpenChange
extracted
ExtractedBusinessData
required
extracted
diff
ExtractionDiff
required
diff
onApply
(options: ApplyExtractionOptions) => Promise<void>
required
onApply
isApplying
boolean
isApplying

Usage

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

export default function Example() {
  return (
    <SmartFillPreviewDialog open={open} onOpenChange={onOpenChange} extracted={extracted} diff={diff} onApply={onApply} />
  );
}