mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Display platform-specific examples
Summary: Rebased https://github.com/facebook/react-native/pull/7048 Sending a new PR to check that tests pass. After adding simulator examples, it appears that some don't show up, ex: http://facebook.github.io/react-native/docs/text.html#content This is due to the fact that these examples are split into two platform-specific files. For this reason, the example code isn't being shown. The examples are also missing for TextInput. **Test plan** `cd website; npm install; npm start`    Closes https://github.com/facebook/react-native/pull/7406 Differential Revision: D3264567 Pulled By: mkonicek fb-gh-sync-id: cfb73eaed56a7b5c6c84ce313e113393d152e9a1 fbshipit-source-id: cfb73eaed56a7b5c6c84ce313e113393d152e9a1
This commit is contained in:
committed by
Mike Grabowski
parent
dd6df71678
commit
2a236534cd
@@ -40,8 +40,8 @@ var ComponentExamples: Array<UIExplorerExample> = [
|
||||
module: require('./ModalExample'),
|
||||
},
|
||||
{
|
||||
key: 'PickerAndroidExample',
|
||||
module: require('./PickerAndroidExample'),
|
||||
key: 'PickerExample',
|
||||
module: require('./PickerExample'),
|
||||
},
|
||||
{
|
||||
key: 'ProgressBarAndroidExample',
|
||||
|
||||
Reference in New Issue
Block a user