1.0.5 • Published 4 years ago
uploadablef-components v1.0.5
uploadablef-components
This is for the use of API of uploadableF app
Install
npm install --save uploadablef-components
Usage
import React from 'react'
import { UploadableFButton } from 'uploadablef-components'
const App = () => {
const uploadImageObj = {
documentList: [
{
documentName: 'Aadhar Card',
id: '1',
limit: 200,
type: 'jpeg',
uploadURL: 'https://abc.com/api/'
},
{
documentName: 'School XI Marksheet',
id: '2',
limit: 350,
type: 'jpeg',
uploadURL: 'https://abc.com/api/'
}
]
}
return (
<UploadableFButton
QRCodedata={uploadImageObj}
ButtonName={'Scan and Upload'}
ButtonVariant={'primary'}
/>
)
}
License
MIT © dailyciousdabba