Usage
Parameters
| Param | Type | Description |
|---|---|---|
featureKey | string | The feature key to check (must match a key in plan.features) |
Return Value
How Access Is Determined
Access is resolved from the subscription data already loaded byCrovverProvider:
- If no active subscription →
hasAccess: false - If active subscription but feature not in
plan.features→hasAccess: false - If
plan.features[featureKey] === true→hasAccess: true
CrovverProvider on mount.