QuotesTable
QuotesTable
is a React component that displays all quotes created by an entity. The component shows each quote's amount, status, issue date, validity date, and the counterpart to which they were sent.
Permissions
To access this component, the entity user must have
read
permissions for thereceivable
object. For more information, see List of permissions.
Preview
![`QuotesTable` component preview.](https://files.readme.io/e4865cb-Screenshot_2023-09-09_at_14.40.55.png)
QuotesTable
component preview.
Usage
Use in the QuotesTable
component in your application as shown:
import { QuotesTable } from "@monite/sdk-react";
...
// TODO: This component must be rendered within the MoniteProvider wrapper
const QuotesTablePage = () => {
return <QuotesTable />
};
Props
The following table shows all QuotesTable
component properties, their types, and description:
Prop | Type | Description |
---|---|---|
onRowClick | function | This callback takes the identifier of the clicked row as a parameter and is triggered when a quotes table row is clicked. |
onChangeSort | function | This callback is called when the current sorting order for any column is changed. |
Updated 3 months ago