The Platform module does not have a dedicated API doc (e.g. a dedicated entry under the API sub-group in the API reference). It is documented under Platform specific code at https://facebook.github.io/react-native/docs/platform-specific-code#platform-module. For discoverability and completeness, I believe this module deserves to have its own API doc at https://facebook.github.io/react-native/docs/platform (Under the API -> APIs sidebar menu).
Activity
Simek commentedon Apr 16, 2020
+1 since
PlatformColorwill receive its own page too.The current implementation of this API can be found here:
zanona commentedon May 26, 2020
I completely agree, It's curious that the first example on https://reactnative.dev/docs/platform-specific-code#platform-module starts with
Where
StyleSheetis listed under the API dropdown butPlatformisn't.Took me a while to find it. 😃
Tundeh commentedon Jul 30, 2020
Can i take this issue?
also, I'm new here.
Naturalclar commentedon Nov 25, 2020
@Tundeh are you still willing to work on this issue?
Any help would be appreciated 😄
Tundeh commentedon Nov 25, 2020
Yes. I'm interested.