Last active
September 12, 2021 10:20
-
-
Save eaccmk/dd7572998e1e31e98736541f6718f3f9 to your computer and use it in GitHub Desktop.
Fitbit app companion (mobile) setting to text box with selection option
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 | |
const NEW_EMOJI_URL = "http://bit.ly/emojiHelp"; | |
function mySettings(props) { | |
return ( | |
<Page> | |
<Section> | |
<Text align="center"> | |
Thank you for using <Text bold>this app</Text> | |
</Text> | |
</Section> | |
<Section> | |
<TextInput | |
label={<Text bold>Tap to enter text</Text>} | |
placeholder="less is more.." | |
settingsKey="quoteText" | |
/> | |
<Text align="right"> | |
More help <Link source={NEW_EMOJI_URL}>here</Link> | |
</Text> | |
</Section> | |
</Page> | |
); | |
} | |
registerSettingsPage(mySettings); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment