Skip to main content

Type Alias: RenderContextType

RenderContextType: object

In react-native-filament we can only have one render callback, which we provide to the FilamentView. This context allows us to have multiple render callbacks, as we call them in the render callback.

Type declaration​

addRenderCallback()​

addRenderCallback: (callback) => () => void

Parameters​

• callback: RenderCallback

Returns​

Function

Returns​

void

renderCallbacks​

renderCallbacks: ISharedValue<RenderCallbackList>

Defined in​

src/react/RenderCallbackContext.tsx:14