@yamada-ui/react
Version:
React UI components of the Yamada, by the Yamada, for the Yamada built with React and Emotion
17 lines • 448 B
TypeScript
//#region src/hooks/use-mounted/index.d.ts
interface UseMountedProps {
delay?: number;
state?: boolean;
}
declare function useMounted(props?: {
delay?: number;
state?: false;
}): () => boolean;
declare function useMounted(props?: {
delay?: number;
state?: true;
}): boolean;
type UseMountedReturn = ReturnType<typeof useMounted>;
//#endregion
export { UseMountedProps, UseMountedReturn, useMounted };
//# sourceMappingURL=index.d.ts.map