Skip to main content

PrerequisiteGate

Loads host-defined, account-scoped prerequisites before rendering children. This is a UI gate only; backend authorization remains authoritative.

Kind: Function
Package: @ovok/native

Import​

import { PrerequisiteGate } from '@ovok/native/ui';

TypeScript signatures​

<T>({ scopeKey, check, pending, renderRequired, onError, children, }: PrerequisiteGateProps<T>): React.JSX.Element
ParameterTypeDetails
__0PrerequisiteGateProps<T>—

Returns: React.JSX.Element.

Learn the workflow​

Continue with Ui Modules for the workflow context and examples.

Source​

View the declaration in the SDK source.