diff --git a/packages/rn-tester/js/examples/View/ViewExample.js b/packages/rn-tester/js/examples/View/ViewExample.js index fea020468bdf88..274937e2ade16b 100644 --- a/packages/rn-tester/js/examples/View/ViewExample.js +++ b/packages/rn-tester/js/examples/View/ViewExample.js @@ -13,13 +13,7 @@ import type {RNTesterModule} from '../../types/RNTesterTypes'; import * as React from 'react'; -import { - Platform, - StyleSheet, - Text, - TouchableWithoutFeedback, - View, -} from 'react-native'; +import {Platform, Pressable, StyleSheet, Text, View} from 'react-native'; class ViewBorderStyleExample extends React.Component< $ReadOnly<{||}>, @@ -31,9 +25,7 @@ class ViewBorderStyleExample extends React.Component< render(): React.Node { return ( - + Dotted border style - + ); } @@ -96,7 +88,7 @@ class OffscreenAlphaCompositing extends React.Component< render(): React.Node { return ( - @@ -149,7 +141,7 @@ class OffscreenAlphaCompositing extends React.Component< /> - + ); } @@ -181,9 +173,7 @@ class ZIndexExample extends React.Component< render(): React.Node { const indices = this.state.flipped ? [-1, 0, 1, 2] : [2, 1, 0, -1]; return ( - + Tap to flip sorting order ZIndex {indices[3]} - + ); } @@ -252,9 +242,7 @@ class DisplayNoneStyle extends React.Component< render(): React.Node { return ( - + Press to toggle `display: none` @@ -300,7 +288,7 @@ class DisplayNoneStyle extends React.Component< }} /> - + ); }