passme-autokyc
v0.0.14
Published
Execute `npm i passme-autokyc --registry "http://gitlab.profitserver.in.ua:4873/"`
Downloads
41
Readme
Steps to install passme-autokyc module
Execute npm i passme-autokyc --registry "http://gitlab.profitserver.in.ua:4873/"
Install peerDependecies:
- react-native-fs,
- react-native-screens,
- react-native-svg,
- react-native-image-picker,
- @regulaforensics/react-native-face-api Version 4.1.1,
Execute comand in terminal npm start -- --reset-cache
Usage
import React from 'react';
import PassmeAutokyc from 'passme-autokyc';
const colors = {
main: '#171717',
text1: '#171717',
text2: '#737373',
background01: '#FFFFFF',
background02: '#F8F9FD',
icon: '#FFFFFF',
error: '#FF594F',
success: '#4FD18B',
pending: '#F5A623',
} as const;
function App(): JSX.Element {
const onCancel = async () => {};
const onComplete = async () => {};
return (
<PassmeAutokyc
apiKey="[API_KEY]"
secretKey="[SECRET_KEY]"
colors={colors}
onCancel={onCancel}
onComplete={onComplete}
/>
);
}
export default App;