Skip to content

refactor(text-input): omit children from props and spread rest last#382

Merged
hryhoriiK97 merged 1 commit into
mainfrom
refactor/text-input-props
Jun 7, 2026
Merged

refactor(text-input): omit children from props and spread rest last#382
hryhoriiK97 merged 1 commit into
mainfrom
refactor/text-input-props

Conversation

@hryhoriiK97

Copy link
Copy Markdown
Collaborator

What/Why?

Omit children from EnrichedMarkdownTextInputProps — a text input doesn’t accept child content, so inheriting it from ViewProps was misleading. Also move {...rest} to the end of the native component props so explicit defaults aren’t accidentally overridden by spread props.

Testing

PR Checklist

  • Code compiles and runs on iOS
  • Code compiles and runs on Android
  • Updated documentation/README if applicable
  • Ran example app to verify changes
  • E2E tests are passing
  • Required E2E tests have been added (if applicable)

@hryhoriiK97 hryhoriiK97 merged commit c05719c into main Jun 7, 2026
5 checks passed
@hryhoriiK97 hryhoriiK97 deleted the refactor/text-input-props branch June 7, 2026 11:21
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.

1 participant