HomeGuidesRecipesAPI ExplorerForumSupport
Partner Portal
Partner Portal


The ApprovalPoliciesTable component renders a table that displays the list of existing approval policies of the authenticated entity. The component supports searching, filtering, and pagination between these approval policies.


`ApprovalPoliciesTable` component preview.

ApprovalPoliciesTable component preview.


Use in the ApprovalPoliciesTable component in your application as shown:

import { ApprovalPoliciesTable } from "@monite/sdk-react"


// TODO: This component must be rendered within the MoniteProvider wrapper
 return (
     <ApprovalPoliciesTable />


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

onChangeFilterfunctionThis callback is triggered when the filtering options are changed.
onChangeSortfunctionThis callback is called when the current sorting order for any column is changed. It returns the newly sorted field and order.

The onChangeSort takes one argument whose value is an object with the following fields:

  • sort - the field name of column whose sort order was changed. For example, policy_name.
  • order - the new sort order, either asc or desc
  "sort": "policy_name",  
  "order": "asc" | "desc" | null  
) => void