react-native-tooltip icon indicating copy to clipboard operation
react-native-tooltip copied to clipboard

can you hang the tooltip to the right or left?

Open faceyspacey opened this issue 9 years ago • 3 comments

faceyspacey avatar Mar 25 '16 09:03 faceyspacey

Right now it defaults to down arrow here: https://github.com/chirag04/react-native-tooltip/blob/master/ToolTipMenu/ToolTipMenu.m#L33

We can make this configurable by passing the arrowDirection from js,

Refer for supported directions: https://developer.apple.com/library/ios/documentation/iPhone/Reference/UIMenuController_Class/index.html#//apple_ref/swift/enum/c:@E@UIMenuControllerArrowDirection

Can you PR?

chirag04 avatar Mar 25 '16 14:03 chirag04

i will

faceyspacey avatar Mar 25 '16 23:03 faceyspacey

Put in a pull request to give this functionality here https://github.com/chirag04/react-native-tooltip/pull/17

imartingraham avatar Jun 08 '16 19:06 imartingraham