Commit a7babea
authored
chore(Tabs): remove isFocused prop from TabsScreen codegen spec (#3863)
## Description
Remove the `isFocused` prop from the `TabsScreen` iOS codegen spec. Tab
focus is managed natively by the platform — the JS-driven `isFocused`
prop is no longer needed.
I believe strongly I've already removed it once, but it returned, likely
as some merge / rebase artifact.
Closes
software-mansion/react-native-screens-labs#1128
## Changes
- Removed `isFocused?: boolean` from `NativeProps` in the codegen spec
(`TabsScreenIOSNativeComponent.ts`).
- Removed the now-unnecessary `'isFocused'` entry from the `Omit` in
`TabRouteOptions` (example app types).
> [!note]
> The legacy (Paper) arch property remap in
`RNSTabsScreenComponentViewManager.mm` is intentionally left untouched —
old arch code removal is tracked separately.
## Test plan
No new tests — this is a prop removal. Existing Tabs tests should
continue to pass as the prop was not actively consumed.
## Checklist
- [x] For API changes, updated relevant public types.
- [x] Ensured that CI passes1 parent a821ff0 commit a7babea
2 files changed
Lines changed: 1 addition & 2 deletions
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | 120 | | |
122 | 121 | | |
123 | 122 | | |
| |||
0 commit comments