Skip to content

Commit 4620888

Browse files
committed
Remove dead-code useAndroidRippleForView
1 parent fdd6ca5 commit 4620888

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

packages/react-native/Libraries/Components/Pressable/useAndroidRippleForView.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,14 @@ import type {ColorValue} from '../../StyleSheet/StyleSheet';
1212
import type {GestureResponderEvent} from '../../Types/CoreEventTypes';
1313

1414
import processColor from '../../StyleSheet/processColor';
15-
import Platform from '../../Utilities/Platform';
1615
import View from '../View/View';
1716
import {Commands} from '../View/ViewNativeComponent';
1817
import invariant from 'invariant';
1918
import * as React from 'react';
2019
import {useMemo} from 'react';
2120

21+
const Platform = require('../../Utilities/Platform').default;
22+
2223
type NativeBackgroundProp = Readonly<{
2324
type: 'RippleAndroid',
2425
color: ?number,

0 commit comments

Comments
 (0)