Skip to content

Commit

Permalink
Remove SafeAreaView flow declaration
Browse files Browse the repository at this point in the history
Summary: Changelog: [Internal] Remove flow declaration for SafeAreaView in preparation for TS generation

Reviewed By: christophpurrer

Differential Revision: D42349686

fbshipit-source-id: b792313b18f3804d8c68955afd918ec8cbb0b80f
  • Loading branch information
lunaleaps authored and facebook-github-bot committed Jan 11, 2023
1 parent da41539 commit ac54a5b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 21 deletions.
19 changes: 0 additions & 19 deletions Libraries/Components/SafeAreaView/SafeAreaView.flow.js

This file was deleted.

3 changes: 1 addition & 2 deletions Libraries/Components/SafeAreaView/SafeAreaView.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
*/

import type {ViewProps} from '../View/ViewPropTypes';
import type {SafeAreaViewType} from './SafeAreaView.flow';

import Platform from '../../Utilities/Platform';
import View from '../View/View';
Expand All @@ -32,4 +31,4 @@ if (Platform.OS === 'android') {
exported = require('./RCTSafeAreaViewNativeComponent').default;
}

export default (exported: SafeAreaViewType);
export default exported;

0 comments on commit ac54a5b

Please sign in to comment.