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

6 lines
187 B
TypeScript

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;