React Native Spotlight Tour - API Reference
React Native Spotlight Tour - API Reference / flip
Variable: flip()
const
flip: (options?
,deps?
) =>Middleware
Defined in: node_modules/@floating-ui/react-native/dist/floating-ui.react-native.d.ts:98
Optimizes the visibility of the floating element by flipping the placement
in order to keep it in view when the preferred placement(s) will overflow the
clipping boundary. Alternative to autoPlacement
.
Parameters
options?
FlipOptions |
Derivable <FlipOptions > |
deps?
React.DependencyList
Returns
Middleware
See
https://floating-ui.com/docs/flip