@opensrp/card-support
v0.0.9
Published
OpenSRP card support features
Downloads
2
Readme
Card Support
This package has a set of components that are used for OpenSRP card support features
Installation
yarn add @opensrp/card-support
Code examples
Download Client Data
Download client data feature, enables the user to download client data in CSV format
To make use of the download client data feature
import { DownloadClientData } from '@opensrp/card-support';
...
<Route path="/download-client-data">
<DownloadClientData opensrpBaseURL="https://opensrp-stage.smartregister.org/opensrp/rest" />
</Route>
DownloadClientData
component takes the following props:
- opensrpBaseURL:(string)
- required
- Opensrp API base URL