mydemoalpna
v1.2.0
Published
test
Downloads
1
Readme
mydemo
test
Install
npm install --save mydemoalpna
Usage
import React from 'react'
import { packageData } from 'mydemoalpna'
const App = () => {
React.useEffect(() => {
getUserDetail()
},[])
const getUserDetail =async()=>{
await packageData.OnScan().then((res)=>{
packageData.getUserInfo(res.type.user_id).then((res)=>{
console.log(res)
})
})
}
return <>
<packageData.QrcodeModal app-name="yyyy" app-logo="===" />
</>
}
export default App