React Native Spotlight Tour - API Reference


React Native Spotlight Tour - API Reference / arrow

Variable: arrow()

const arrow: (options, deps?) => Middleware

Defined in: node_modules/@floating-ui/react-native/dist/floating-ui.react-native.d.ts:54

Provides data to position an inner element of the floating element so that it appears centered to the reference element. This wraps the core arrow middleware to allow React refs as the element.

Parameters

options

ArrowOptions Derivable<ArrowOptions>

deps?

React.DependencyList

Returns

Middleware

See

https://floating-ui.com/docs/arrow