Last active
September 12, 2021 10:19
-
-
Save eaccmk/3d1e2ca036005edb247afb0e2c18c953 to your computer and use it in GitHub Desktop.
Fitbit app companion (mobile) setting to demo image picker to pick image form phone
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// author : https://github.com/eaccmk | |
// created : sep-2021 | |
function mySettings(props) { | |
return ( | |
<Page> | |
<ImagePicker | |
title="Image Selector" | |
description="This feature gets image from phone to fitbit" | |
label="Click here to select an image" | |
sublabel="pick the best !" | |
settingsKey="image" | |
imageWidth="300" | |
imageHeight="300" | |
/> | |
</Page> | |
); | |
} | |
registerSettingsPage(mySettings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment