mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-23 20:01:01 +08:00
RN: Fix Remaining ReactElement References
Summary: Fixes remaining references to `ReactElement` that did not already have `React` in scope. Reviewed By: bestander, vjeux Differential Revision: D4022022 fbshipit-source-id: 4aeacee0cdbb2c825feba10282208316d064c578
This commit is contained in:
committed by
Facebook Github Bot
parent
e8198aed8d
commit
b77b760810
@@ -23,16 +23,18 @@
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
import type React from 'react';
|
||||
|
||||
export type Example = {
|
||||
title: string,
|
||||
render: () => ?React.Element<any>,
|
||||
description?: string,
|
||||
platform?: string;
|
||||
platform?: string,
|
||||
};
|
||||
|
||||
export type ExampleModule = {
|
||||
title: string;
|
||||
description: string;
|
||||
examples: Array<Example>;
|
||||
external?: bool;
|
||||
title: string,
|
||||
description: string,
|
||||
examples: Array<Example>,
|
||||
external?: bool,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user