"use client";import{useFocusRing as c}from"@react-aria/focus";import{useHover as A}from"@react-aria/interactions";import{Fragment as D}from"react";import{useActivePress as f}from'../../hooks/use-active-press.js';import{useSlot as v}from'../../hooks/use-slot.js';import{forwardRefWithAs as I,mergeProps as y,useRender as P}from'../../utils/render.js';let E=D;function d(t,r){let{...a}=t,e=!1,{isFocusVisible:o,focusProps:n}=c(),{isHovered:p,hoverProps:s}=A({isDisabled:e}),{pressed:i,pressProps:T}=f({disabled:e}),l=y({ref:r},n,s,T),m=v({hover:p,focus:o,active:i});return P()({ourProps:l,theirProps:a,slot:m,defaultTag:E,name:"DataInteractive"})}let b=I(d);export{b as DataInteractive};
