UNPKG
react-hooks-toolbox
Version:
latest (0.1.9)
0.1.9
0.1.8
0.1.7
0.1.6
0.1.5
0.1.4
0.1.3
0.1.2
0.1.1
0.1.0
0.0.4
0.0.2
0.0.1
React hooks toolbox
apenab/react-hooks-toolbox
react-hooks-toolbox
/
es
/
useGoogleApiInit
/
utils.js
3 lines
•
225 B
JavaScript
View Raw
1
2
3
export
function
createProfileObject(id,
name,
givenName,
familyName,
imageUrl,
email,
token)
{
return
{
id:
id
,
name:
name
,
givenName:
givenName
,
familyName:
familyName
,
imageUrl:
imageUrl
,
email:
email
,
token:
token
}
;
}