mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-26 05:15:49 +08:00
Remove var in RNTester (#22013)
Summary: I removed `var` in RNTester. - [x] npm run prettier - [x] npm run flow-check-ios - [x] npm run flow-check-android [GENERAL] [ENHANCEMENT] [RNTester] - remove `var` Pull Request resolved: https://github.com/facebook/react-native/pull/22013 Differential Revision: D12849927 Pulled By: TheSavior fbshipit-source-id: 4a2fd11939bd8ae8604ef59512f532adc0a09eda
This commit is contained in:
committed by
Facebook Github Bot
parent
ce860803a4
commit
811a99caab
@@ -16,7 +16,7 @@ const RNTesterExampleContainer = require('./RNTesterExampleContainer');
|
||||
|
||||
import type {ExampleModule} from 'ExampleTypes';
|
||||
|
||||
var createExamplePage = function(
|
||||
const createExamplePage = function(
|
||||
title: ?string,
|
||||
exampleModule: ExampleModule,
|
||||
): React.ComponentType<any> {
|
||||
|
||||
Reference in New Issue
Block a user