consent setup
ConsentProvider
Subscribes to one CMP and publishes its state.
import { ConsentProvider } from "@evolve-storefront/consent/provider";Design notes
Server-renders as pending unconditionally — consent lives in a cookie or in
localStorage, and reading it server-side would tie this package to one CMP's
cookie name. Consumers handle pending; there is a first paint where nothing
is granted.
| Prop | Type | Description |
|---|---|---|
adapter | ConsentAdapter | |
children? | ReactNode |

