# Interface: GateProps

Defined in: [components/Gate.tsx:40](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L40)

## Properties

### check?

> `optional` **check?**: `any`

Defined in: [components/Gate.tsx:46](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L46)

Local check function — runs on mount to determine access silently

***

### children

> **children**: `ReactNode`

Defined in: [components/Gate.tsx:56](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L56)

Rendered when access is granted

***

### fallback?

> `optional` **fallback?**: `ReactNode`

Defined in: [components/Gate.tsx:50](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L50)

Rendered when access is denied. Gets GateContext so it can call trigger().

***

### flow

> **flow**: `string`

Defined in: [components/Gate.tsx:44](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L44)

Flow slug to present when the gate fails

***

### loading?

> `optional` **loading?**: `ReactNode`

Defined in: [components/Gate.tsx:52](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L52)

Rendered while the initial check is running

***

### name

> **name**: `string`

Defined in: [components/Gate.tsx:42](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L42)

Unique gate name

***

### onAccess?

> `optional` **onAccess?**: (`result`) => `void`

Defined in: [components/Gate.tsx:54](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L54)

Called after the full gate flow completes

#### Parameters

##### result

`GateResult`

#### Returns

`void`

***

### sync?

> `optional` **sync?**: `any`

Defined in: [components/Gate.tsx:48](https://github.com/plandalf/numi/blob/fc6f42b5ade3d63b71623934838a6509f17203e2/packages/react/src/components/Gate.tsx#L48)

Sync callback passed to sdk.gate() when the full gate flow is triggered

Source: https://plandalf.com/docs/packages/react/interfaces/GateProps
