For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
API StatusPartner Portal
HomeGuidesAPI ExplorerSDKsGitHubSupport
HomeGuidesAPI ExplorerSDKsGitHubSupport
  • Monite SDK
    • Overview
  • Drop-in
    • Drop-in overview
    • Drop-in theming
    • Drop-in localization
    • Iframe App
  • React SDK
    • Overview
      • Overview
      • ApprovalPolicies
      • ApprovalPoliciesTable
      • ApprovalPolicyDetails
      • ApprovalRequests
      • ApprovalRequestsTable
      • CounterpartDetails
      • Counterparts
      • CounterpartsTable
      • CreditNotesTable
      • DocumentNumber
      • InvoiceDetails
      • InvoicesTable
      • LayoutAndLogo
      • Onboarding
      • OtherSettings
      • PayableDetails
      • Payables
      • PayablesTable
      • ProductDetails
      • Products
      • ProductsTable
      • QuotesTable
      • Receivables
      • ReceivablesTable
      • RolesAndPolicies
      • TagFormModal
      • Tags
      • TagsTable
      • TemplateSettings
      • UserRoleDetails
      • UserRoles
      • UserRolesTable
    • SDK customization
    • SDK localization
    • SDK theming
    • SDK releases
    • v4 migration guide
LogoLogo
API StatusPartner Portal
On this page
  • Overview
  • Permissions
  • Preview
  • Usage
  • Props
React SDKComponents and wrappers

ApprovalRequestsTable component

Was this page helpful?
Previous

CounterpartDetails component

Next
Built with

Overview

The ApprovalRequestsTable 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 have read 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

ApprovalPoliciesTable component preview
ApprovalPoliciesTable component preview
You can move and organize the columns of the table the way you prefer.

Usage

Bring in the ApprovalRequestsTable component into your application as shown:

React.js
1import { ApprovalRequestsTable } from "@monite/sdk-react";
2
3// This component must be rendered within the MoniteProvider wrapper
4const ApprovalRequestsTablePage = () => {
5 return <ApprovalRequestsTable />;
6};

Props

The following table shows all ApprovalRequestsTable component properties, their types, and descriptions:

PropTypeDescription
onRowClickfunctionThis callback takes the identifier of the clicked row as a parameter and is triggered when an approval request table row is clicked.
onRowActionClickfunctionThis callback is called when the Approve or Reject buttons are clicked. It returns either approve or reject.