You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Follow-up from #1175 (feat: [DSRN] Added SectionHeader).
SectionHeaderProps['titleWrapperProps'] is typed and documented as a passthrough to the inner BoxRow, excluding only children, endAccessory, and textProps.
Because gap is not omitted from the type, consumers can pass:
Overview
Follow-up from #1175 (
feat: [DSRN] Added SectionHeader).SectionHeaderProps['titleWrapperProps']is typed and documented as a passthrough to the innerBoxRow, excluding onlychildren,endAccessory, andtextProps.Because
gapis not omitted from the type, consumers can pass:But
SectionHeader.tsxspreadstitleWrapperPropsbeforegap={1}, so the explicit prop is overwritten and has no runtime effect.Acceptance Criteria
titleWrapperPropsafter default row props while keeping controlled fields (children,endAccessory,textProps) protected.gapfromtitleWrapperPropsand update the README type table/description to match.References
packages/design-system-react-native/src/components/SectionHeader/SectionHeader.tsxpackages/design-system-react-native/src/components/SectionHeader/README.md