necolas / react-native-web

Cross-platform React UI packages
https://necolas.github.io/react-native-web
MIT License
21.69k stars 1.79k forks source link

Type error in docs for TextInput #2693

Open DougRiblet opened 5 months ago

DougRiblet commented 5 months ago

Is there an existing issue for this?

Describe the issue

The docs page for TextInput includes prop:

placeholder: ?boolean
Text that appears in the form control when it has no value set.

Should that be ?string rather than ?boolean?

Expected behavior

Correction (if I'm right) of the docs page.

Steps to reproduce

Nothing to reproduce.

Test case

https://necolas.github.io/react-native-web/docs/text-input/

Additional comments

No response