10-26-2020 06:46
10-26-2020 06:46
Is there a way to force a line break in the Section Description on a Settings page? I tried unicode and \n but nothing seems to work.
11-16-2020 05:15
11-16-2020 05:15
Try this
<Section
description={<Text>{`Hi~
this is a test message.
`}</Text>}
title={<Text bold align="center">Demo Settings</Text>}>
<Text>
This is a very basic demo settings page to show off some of the current
capabilities of the Companion Settings library.
</Text>
</Section>
02-12-2022 06:00
02-12-2022 06:00
Unfortunately that doesn't work - any other suggestions?
02-19-2022 07:28
02-19-2022 07:28
React escapes most things automatically. I've tried a lot of workarounds and none of them showed any possibilities. Until/unless FitBit extends the text class in some way, it's probably not going to happen.