import{useCurrentDevice as e}from"@gem-sdk/core";import{useRef as t,useState as r,useEffect as o}from"react";let i=({iconWidth:i})=>{let l=t(null),[n,u]=r(""),m=e();return o(()=>{if(l?.current){let e=window.getComputedStyle(l?.current).getPropertyValue("line-height");u(e)}},[i,m]),{ref:l,lineHeight:n}};export{i as useIconLineHeight};
