pre-installations and preparations
This commit is contained in:
1 parent
3e5a0329cb
commit
201d621ac3
6977 files changed
+742826
No files matched your search
+23
@@ -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;
|
||||
};
|
||||
Reference in new issue
Block a user