UNPKG

@eristack/policy-ui

Version:
11 lines • 512 B
import type { ReactNode } from "react"; export type BusinessPolicyGateProps = { /** PBAC policy id — wired when `@eristack/pbac/react` is connected. */ policyId?: string; /** v0 override when hooks are not mounted. */ allowed?: boolean; children: ReactNode; fallback?: ReactNode; }; export declare function BusinessPolicyGate({ policyId: _policyId, allowed, children, fallback, }: BusinessPolicyGateProps): import("react").JSX.Element; //# sourceMappingURL=business-policy-gate.d.ts.map