React Native Spotlight Tour - API Reference
React Native Spotlight Tour - API Reference / autoPlacement
Variable: autoPlacement()
const
autoPlacement: (options?
,deps?
) =>Middleware
Defined in: node_modules/@floating-ui/react-native/dist/floating-ui.react-native.d.ts:64
Optimizes the visibility of the floating element by choosing the placement
that has the most space available automatically, without needing to specify a
preferred placement. Alternative to flip
.
Parameters
options?
AutoPlacementOptions |
Derivable <AutoPlacementOptions > |
deps?
React.DependencyList
Returns
Middleware
See
https://floating-ui.com/docs/autoPlacement