1.0.2 • Published 3 years ago

privcloud-mobile-components v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

npm.io PRs Welcome

privcloud-mobile-components

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.

Installation

If using yarn:

yarn add privcloud-mobile-components

If using npm:

npm install privcloud-mobile-components

Documentation

Record List component

NameDescriptionRequiredDefaultType
tokenPrivcloud service API tokenYesString
containerGuidAssociated container GUID to get all recordsYesString
recordTypeIdRecord Type ID to filter recordsYesNumber
optionsOptions to customize a componentNo{ title: 'Record List', elevation: 3, updatable: false, displayTiming: true }Object

Record Details component

NameDescriptionRequiredDefaultType
tokenPrivcloud service API tokenYesString
guidRecord GUID to get details. If this is empty, you need to provide workspaceId and containerGuid to create a new recordNoString
workspaceIdWorkspace ID to create a new recordNoNumber
containerGuidContainer GUID to create a new recordNoString
transformationTransformation type to view record details. decrypt, encrypt, anonymize, redactNo'decrypt'String
optionsOptions to customize a componentNo{ title: 'Record Details', elevation: 3, displayTiming: true }Object

License

MIT