Skip to content

Commit

Permalink
Update View to use import instead of require
Browse files Browse the repository at this point in the history
Summary:
Changelog:
[General][Changed] Update View to use import instead of require

Reviewed By: lunaleaps

Differential Revision: D27747147

fbshipit-source-id: 49bd705bd475ca518829d3364550c14ec2ac1da8
  • Loading branch information
kacieb authored and facebook-github-bot committed Apr 14, 2021
1 parent 9729d4d commit 50c3dd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Libraries/Components/View/View.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

import type {ViewProps} from './ViewPropTypes';

const React = require('react');
import ViewNativeComponent from './ViewNativeComponent';
const TextAncestor = require('../../Text/TextAncestor');
import TextAncestor from '../../Text/TextAncestor';
import * as React from 'react';

export type Props = ViewProps;

Expand Down

0 comments on commit 50c3dd3

Please sign in to comment.