Skip to content

Fix TextInput placeholder documentation - #2854

Merged
zoontek merged 1 commit into
necolas:masterfrom
huytdps13400:fix/2693-text-input-placeholder-doc-type
Sep 25, 2026
Merged

zoontek merged 1 commit into
necolas:masterfrom
huytdps13400:fix/2693-text-input-placeholder-doc-type

Conversation

@huytdps13400

Copy link
Copy Markdown
Contributor

Summary

  • correct the documented TextInput placeholder prop type from boolean to string
  • align the generated documentation with the existing public Flow type

Fixes #2693.

Verification

  • npm run build -w react-native-web-docs: passed; generated TextInput page renders placeholder as ?string
  • npm run test: Flow, Prettier, ESLint, 46 DOM suites / 712 tests passed, 3 Node suites / 6 tests passed
  • git diff --check: passed

@huytdps13400 huytdps13400 mentioned this pull request Aug 30, 2026
1 task done
@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 21064e3:

Sandbox Source
react-native-web-examples Configuration

@zoontek
zoontek merged commit 3abdab4 into necolas:master Sep 25, 2026
6 checks passed
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.

Type error in docs for TextInput

2 participants