1.0.5 • Published 4 years ago

uploadablef-components v1.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

uploadablef-components

This is for the use of API of uploadableF app

NPM JavaScript Style Guide

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

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago