FrontPastel/node_modules/@mui/utils/useOnMount/useOnMount.d.ts

6 lines
187 B
TypeScript
Raw Normal View History

2024-04-17 13:55:11 +00:00
import * as React from 'react';
/**
* A React.useEffect equivalent that runs once, when the component is mounted.
*/
export default function useOnMount(fn: React.EffectCallback): void;