Skip to content

Add Expo UI foundation and migrate SegmentedControl to Compose Segmen… - #54

Merged
Palloxin merged 1 commit into
Palloxin:masterfrom
lnreader:claude/lnreader-expo-ui-migration-1up8b4
Aug 3, 2026
Merged

Add Expo UI foundation and migrate SegmentedControl to Compose Segmen…#54
Palloxin merged 1 commit into
Palloxin:masterfrom
lnreader:claude/lnreader-expo-ui-migration-1up8b4

Conversation

@Palloxin

@Palloxin Palloxin commented Aug 3, 2026

Copy link
Copy Markdown
Owner

…tedButton

Installs @expo/ui and adds src/components/ExpoUI/ (ExpoHost wrapper + theme adapter mapping ThemeColors to Host colorScheme/seedColor and explicit SegmentedButtonColors) plus Jest mocks for @expo/ui/jetpack-compose.

SegmentedControl now renders SingleChoiceSegmentedButtonRow/SegmentedButton for label-based usage (theme mode selectors), keeping the original Pressable-based implementation for icon-only controls (reader text align) that Compose's Label-only slot can't reproduce. Adds an ESLint rule blocking screens/navigators from importing @expo/ui directly.

…tedButton

Installs @expo/ui and adds src/components/ExpoUI/ (ExpoHost wrapper +
theme adapter mapping ThemeColors to Host colorScheme/seedColor and
explicit SegmentedButtonColors) plus Jest mocks for @expo/ui/jetpack-compose.

SegmentedControl now renders SingleChoiceSegmentedButtonRow/SegmentedButton
for label-based usage (theme mode selectors), keeping the original
Pressable-based implementation for icon-only controls (reader text align)
that Compose's Label-only slot can't reproduce. Adds an ESLint rule
blocking screens/navigators from importing @expo/ui directly.
@Palloxin
Palloxin merged commit 8b87677 into Palloxin:master Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants