Skip to content

Commit d35f4c1

Browse files
committed
chore: remove duplicate PortalProvider
1 parent 72be6d9 commit d35f4c1

File tree

1 file changed

+16
-18
lines changed

1 file changed

+16
-18
lines changed

README.md

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -91,24 +91,22 @@ const App = () => {
9191
}, []);
9292
9393
return (
94-
<PortalProvider>
95-
<View style={styles.container}>
96-
<Tooltip
97-
position="top"
98-
offset={8}
99-
renderContent={renderContent}
100-
isVisible={isVisible}
101-
withOverlay
102-
onDismiss={toggle}
103-
pointerStyle={styles.pointer}
104-
pointerColor="green"
105-
>
106-
<TouchableOpacity onPress={toggle} style={styles.newFeature}>
107-
<Text style={styles.newFeatureText}>This is new cool feature</Text>
108-
</TouchableOpacity>
109-
</Tooltip>
110-
</View>
111-
</PortalProvider>
94+
<View style={styles.container}>
95+
<Tooltip
96+
position="top"
97+
offset={8}
98+
renderContent={renderContent}
99+
isVisible={isVisible}
100+
withOverlay
101+
onDismiss={toggle}
102+
pointerStyle={styles.pointer}
103+
pointerColor="green"
104+
>
105+
<TouchableOpacity onPress={toggle} style={styles.newFeature}>
106+
<Text style={styles.newFeatureText}>This is new cool feature</Text>
107+
</TouchableOpacity>
108+
</Tooltip>
109+
</View>
112110
);
113111
};
114112

0 commit comments

Comments
 (0)