Last active
September 12, 2021 10:19
-
-
Save eaccmk/b78146edfdafd77960782ce3bd656c02 to your computer and use it in GitHub Desktop.
Fitbit app companion (mobile) setting to demo how to select 1 item from a list
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> | |
<Select | |
label={`Click for Selection`} | |
settingsKey="selection" | |
options={[ | |
{ name: "1. Select this One" }, | |
{ name: "2. Or this" }, | |
{ name: "3. may be this " }, | |
]} | |
/> | |
</Page> | |
); | |
} | |
registerSettingsPage(mySettings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment