@c15t/react
Version:
Developer-first CMP for React: cookie banner, consent manager, preferences centre. GDPR ready with minimal setup and rich customization
2 lines • 409 B
JavaScript
'use client';
import*as r from"react/jsx-runtime";import*as o from"@radix-ui/react-slot";import*as t from"react";import*as e from"../../../hooks/use-styles.js";let s=(0,t.forwardRef)(({asChild:t,className:s,style:a,themeKey:m,baseClassName:i,...f},l)=>{let p=(0,e.useStyles)(m,{baseClassName:i,className:s,style:a}),x=t?o.Slot:"div";return(0,r.jsx)(x,{ref:l,...f,...p})});s.displayName="Box";export{s as Box};