forked from alimek/react-native-tooltip-menu
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
can you tell me what is exactly wrong I copy one of your example and been trying couple of ways, whenever I click this just goes to bottom of screen on left side. also it is creating a copy of button as well. I am not sure what is the issue.
Here's the relevant code.
<View
style={{
flex: 1,
alignSelf: "stretch",
alignItems: "center",
justifyContent: "flex-start",
backgroundColor: "#fff"
}}
>
<View style={{ height: 40 }} />
<Text>testing tooltip Effect</Text>
<PopoverTooltip
ref="tooltip1"
setBelow
buttonComponent={
<View
style={{
width: 200,
height: 50,
backgroundColor: "orange",
justifyContent: "center",
alignItems: "center",
borderRadius: 5
}}
>
<Text>Press Me</Text>
</View>
}
items={[
{
label: "Item 1",
onPress: () => {}
},
{
label: "Item 2",
onPress: () => {}
}
]}
/>
</View>
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
