Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F100912627
Slide.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Mon, Feb 3, 21:33
Size
2 KB
Mime Type
text/x-java
Expires
Wed, Feb 5, 21:33 (2 d)
Engine
blob
Format
Raw Data
Handle
24054931
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Slide.d.ts
View Options
import * as React from 'react';
import { TransitionProps } from '../transitions/transition';
export interface SlideProps extends TransitionProps {
/**
* Perform the enter transition when it first mounts if `in` is also `true`.
* Set this to `false` to disable this behavior.
* @default true
*/
appear?: boolean;
/**
* A single child content element.
*/
children: React.ReactElement<any, any>;
/**
* An HTML element, or a function that returns one.
* It's used to set the container the Slide is transitioning from.
*/
container?: null | Element | ((element: Element) => Element);
/**
* Direction the child node will enter from.
* @default 'down'
*/
direction?: 'left' | 'right' | 'up' | 'down';
/**
* The transition timing function.
* You may specify a single easing or a object containing enter and exit values.
* @default {
* enter: theme.transitions.easing.easeOut,
* exit: theme.transitions.easing.sharp,
* }
*/
easing?: TransitionProps['easing'];
/**
* If `true`, the component will transition in.
*/
in?: TransitionProps['in'];
ref?: React.Ref<unknown>;
/**
* The duration for the transition, in milliseconds.
* You may specify a single timeout for all transitions, or individually with an object.
* @default {
* enter: theme.transitions.duration.enteringScreen,
* exit: theme.transitions.duration.leavingScreen,
* }
*/
timeout?: TransitionProps['timeout'];
}
/**
* The Slide transition is used by the [Drawer](https://mui.com/material-ui/react-drawer/) component.
* It uses [react-transition-group](https://github.com/reactjs/react-transition-group) internally.
*
* Demos:
*
* - [Dialog](https://mui.com/material-ui/react-dialog/)
* - [Transitions](https://mui.com/material-ui/transitions/)
*
* API:
*
* - [Slide API](https://mui.com/material-ui/api/slide/)
* - inherits [Transition API](http://reactcommunity.org/react-transition-group/transition/#Transition-props)
*/
export default function Slide(props: SlideProps): JSX.Element;
Event Timeline
Log In to Comment