Part of the SelectionList ListItem — Composition over Configuration tracking effort. See PR split in this comment.
PR 5 — Sweep and flag deletion
- Migrates: the full residue, enumerated —
SpendCategorySelectorListItem, SpendRuleListItem, SplitListItem (the three remaining direct BaseListItem wrappers). Nothing else is left: every other ValidListItem entry lands in PRs 1-5 or is covered transitively.
- Components needed: none new.
- Implementation details:
SplitListItem migrates its pressable/layout like any variant; only its highlight stays on raw useAnimatedHighlightStyle.
- Each flag dies with its last consumer:
shouldDisplayRBR, prop-level shouldShowRightCaret (item-level flag from useConfirmationSections.ts stays), rightHandSideComponent, FooterComponent, wrapperStyle/testID forwarding.
ListItem/types.ts reduction; drop render-prop compat.
Part of the SelectionList ListItem — Composition over Configuration tracking effort. See PR split in this comment.
PR 5 — Sweep and flag deletion
SpendCategorySelectorListItem,SpendRuleListItem,SplitListItem(the three remaining directBaseListItemwrappers). Nothing else is left: every otherValidListItementry lands in PRs 1-5 or is covered transitively.SplitListItemmigrates its pressable/layout like any variant; only its highlight stays on rawuseAnimatedHighlightStyle.shouldDisplayRBR, prop-levelshouldShowRightCaret(item-level flag fromuseConfirmationSections.tsstays),rightHandSideComponent,FooterComponent,wrapperStyle/testIDforwarding.ListItem/types.tsreduction; drop render-prop compat.