UNPKG

flowbite-react

Version:

Official React components built for Flowbite and Tailwind CSS

12 lines (9 loc) 266 B
'use client'; import { useState, useEffect } from 'react'; function useIsMounted() { const [mounted, setMounted] = useState(false); useEffect(() => setMounted(true), []); return mounted; } export { useIsMounted }; //# sourceMappingURL=use-is-mounted.mjs.map