Completely updated React, fixed #11, (hopefully)
This commit is contained in:
11
goTorrentWebUI/node_modules/material-ui/transitions/utils.js.flow
generated
vendored
Normal file
11
goTorrentWebUI/node_modules/material-ui/transitions/utils.js.flow
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
export const reflow = node => node.scrollTop;
|
||||
|
||||
export function getTransitionProps(props, options) {
|
||||
const { timeout, style = {} } = props;
|
||||
|
||||
return {
|
||||
duration:
|
||||
style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode],
|
||||
delay: style.transitionDelay,
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user