From 4a814d1370329ac75a6fb0924c73c48b3d3754fb Mon Sep 17 00:00:00 2001 From: Peter van der Zee Date: Thu, 5 Apr 2018 06:14:51 -0700 Subject: [PATCH] Change ES6 module syntax to module.exports Reviewed By: rubennorte Differential Revision: D7490562 fbshipit-source-id: 861681c24eab678d25af47bb25738651fe3e26b4 --- Libraries/Components/View/ViewContext.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Libraries/Components/View/ViewContext.js b/Libraries/Components/View/ViewContext.js index 563d2b253..f9f980004 100644 --- a/Libraries/Components/View/ViewContext.js +++ b/Libraries/Components/View/ViewContext.js @@ -16,6 +16,8 @@ export type ViewChildContext = {| +isInAParentText: boolean, |}; -export const ViewContextTypes = { - isInAParentText: PropTypes.bool, +module.exports = { + ViewContextTypes: { + isInAParentText: PropTypes.bool, + }, };