Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: include onLayout in TextInput render props #4239

Merged
merged 1 commit into from
Jan 8, 2024

Conversation

AugustasFriend
Copy link
Contributor

Motivation

Typescript definition are not up to date with the actual usages. TextInputOutlined uses this to measure the layout, but we have it optional since TextInputFlat doesn't pass it along.

Test plan

Run typescript type check to verify it.

@lukewalczak lukewalczak changed the title Include onLayout in TextInput render props fix: include onLayout in TextInput render props Jan 8, 2024
@callstack-bot
Copy link

Hey @AugustasFriend, thank you for your pull request 🤗. The documentation from this branch can be viewed here.

@lukewalczak lukewalczak merged commit 915a9fd into callstack:main Jan 8, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants