pre-installations and preparations

This commit is contained in:
MuhammadKhalilzadeh committed 2024-05-05 11:21:00 +03:30
1 parent 3e5a0329cb
commit 201d621ac3
6977 files changed
+742826

No files matched your search

+23
View File
@@ -0,0 +1,23 @@
import { TransitionContextValue } from './TransitionContext';
/**
* Allows child elements to be transitioned in and out.
*
* Demos:
*
* - [Transitions](https://mui.com/base-ui/react-transitions/#hooks)
*
* API:
*
* - [useTransitionTrigger API](https://mui.com/base-ui/react-transitions/hooks-api/#use-transition-trigger)
*/
export declare function useTransitionTrigger(requestEnter: boolean): UseTransitionTriggerReturnValue;
export type UseTransitionTriggerReturnValue = {
/**
* The value of a `TransitionContext` to be placed around children that will be transitioned.
*/
contextValue: TransitionContextValue;
/**
* `true`, if the transitioned element has exited completely (or not entered yet).
*/
hasExited: boolean;
};