Overview
TheApprovalRequestsTable component displays a table containing the list of existing approval requests of the authenticated entity. The component supports searching, filtering, and pagination between these approval requests.
Permissions
To access this component, the entity user must haveread permission for the approval_request object. To approve or reject payables, the entity user must also have update permission for the approval_request object. For more information, see List of permissions.
Preview

Usage
Bring in theApprovalRequestsTable component into your application as shown:
React.js
Props
The following table shows allApprovalRequestsTable component properties, their types, and descriptions:
| Prop | Type | Description |
|---|---|---|
onRowClick | function | This callback takes the identifier of the clicked row as a parameter and is triggered when an approval request table row is clicked. |
onRowActionClick | function | This callback is called when the Approve or Reject buttons are clicked. It returns either approve or reject. |