@dialstack/sdk / react / CallLogs
Variable: CallLogs
const CallLogs: React.FC<CallLogsProps>;
Defined in: sdk/src/react/CallLogs.tsx:127
CallLogs component displays a list of call logs for the authenticated account
Uses URL-based pagination with previous/next navigation. The component automatically handles pagination state internally using the API's next_page_url and previous_page_url.
Must be used within a DialstackComponentsProvider.
Example
<DialstackComponentsProvider dialstack={dialstack}>
<CallLogs
dateRange={{ start: '2025-01-01', end: '2025-01-31' }}
limit={50}
onLoadError={(e) => console.error(e.error)}
onRowClick={(e) => console.log('Selected call:', e.callId)}
/>
</DialstackComponentsProvider>