mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
Fix path to UIExplorer examples
Summary: Closes https://github.com/facebook/react-native/pull/8746 Differential Revision: D3555421 Pulled By: JoelMarcey fbshipit-source-id: 911ee6fb038b2796ef166c925395799917f206e6
This commit is contained in:
parent
ceffb085d0
commit
f15031a374
@ -63,7 +63,7 @@ function getPlatformFromPath(filepath) {
|
||||
}
|
||||
|
||||
function getExamplePaths(componentName, componentPlatform) {
|
||||
const componentExample = '../Examples/UIExplorer/' + componentName + 'Example.';
|
||||
const componentExample = '../Examples/UIExplorer/js/' + componentName + 'Example.';
|
||||
let pathsToCheck = [
|
||||
componentExample + 'js',
|
||||
componentExample + componentPlatform + '.js',
|
||||
|
Loading…
x
Reference in New Issue
Block a user