Skip to content

Gate

function Gate<F>(__namedParameters): ReactElement;

Defined in: src/react/index.tsx:289

Render children when the customer has feature (for amount units), fallback otherwise. UX only — the server must still check.

Type Parameter Default type
F extends string string
Parameter Type
__namedParameters GateProps<F>

ReactElement