'use client';
import{useState as t,useEffect as e}from"react";let useMountTransition=(r,o)=>{let[u,n]=t(!1);return e(()=>{let t;return r&&!u?n(!0):!r&&u&&(t=setTimeout(()=>n(!1),o)),()=>{clearTimeout(t)}},[o,r,u]),u};export{useMountTransition as default};
