diff options
author | dan <dan.abramov@gmail.com> | 2024-04-04 21:34:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-04 21:34:55 +0100 |
commit | 3915bb43169ae501d81571c5e1efa12cf0e24dbb (patch) | |
tree | be2f7bed7c842be71922f2793b4b4a20cd6fbc24 /src/screens/Onboarding/StepFollowingFeed.tsx | |
parent | c190fd58ec82b36ea8124902cad34acc4a5b5ac0 (diff) | |
download | voidsky-3915bb43169ae501d81571c5e1efa12cf0e24dbb.tar.zst |
Enforce Text suffix for Text-rendering components (#3407)
* Rm unused * Add Text suffix to Title/Description * Add Text suffix to text components * Add Text suffix to props * Validate Text components returns
Diffstat (limited to 'src/screens/Onboarding/StepFollowingFeed.tsx')
-rw-r--r-- | src/screens/Onboarding/StepFollowingFeed.tsx | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/screens/Onboarding/StepFollowingFeed.tsx b/src/screens/Onboarding/StepFollowingFeed.tsx index e886a0891..a1c7299f0 100644 --- a/src/screens/Onboarding/StepFollowingFeed.tsx +++ b/src/screens/Onboarding/StepFollowingFeed.tsx @@ -10,9 +10,9 @@ import { useSetFeedViewPreferencesMutation, } from 'state/queries/preferences' import { - Description, + DescriptionText, OnboardingControls, - Title, + TitleText, } from '#/screens/Onboarding/Layout' import {Context} from '#/screens/Onboarding/state' import {atoms as a} from '#/alf' @@ -58,12 +58,12 @@ export function StepFollowingFeed() { <View style={[a.align_start]}> <IconCircle icon={FilterTimeline} style={[a.mb_2xl]} /> - <Title> + <TitleText> <Trans>Your default feed is "Following"</Trans> - </Title> - <Description style={[a.mb_md]}> + </TitleText> + <DescriptionText style={[a.mb_md]}> <Trans>It shows posts from the people you follow as they happen.</Trans> - </Description> + </DescriptionText> <View style={[a.w_full]}> <Toggle.Item @@ -139,9 +139,9 @@ export function StepFollowingFeed() { </Toggle.Item> </View> - <Description style={[a.mt_lg]}> + <DescriptionText style={[a.mt_lg]}> <Trans>You can change these settings later.</Trans> - </Description> + </DescriptionText> <OnboardingControls.Portal> <Button |