A simple and customizable React Native components for privcloud api service.
- Record List component is to display all records associated to container.
- Record Details component is to CRUD record details.
If using yarn:
yarn add privcloud-mobile-components
If using npm:
npm install privcloud-mobile-components
Name | Description | Required | Default | Type |
---|---|---|---|---|
token | Privcloud service API token | Yes | String | |
containerGuid | Associated container GUID to get all records | Yes | String | |
recordTypeId | Record Type ID to filter records | Yes | Number | |
options | Options to customize a component | No | { title: 'Record List', elevation: 3, updatable: false, displayTiming: true } | Object |
Name | Description | Required | Default | Type |
---|---|---|---|---|
token | Privcloud service API token | Yes | String | |
guid | Record GUID to get details. If this is empty, you need to provide workspaceId and containerGuid to create a new record | No | String | |
workspaceId | Workspace ID to create a new record | No | Number | |
containerGuid | Container GUID to create a new record | No | String | |
transformation | Transformation type to view record details. decrypt, encrypt, anonymize, redact | No | 'decrypt' | String |
options | Options to customize a component | No | { title: 'Record Details', elevation: 3, displayTiming: true } | Object |
MIT