@material-ui/core
Version:
React components that implement Google's Material Design.
12 lines • 404 B
JavaScript
export var reflow = function reflow(node) {
return node.scrollTop;
};
export function getTransitionProps(props, options) {
var timeout = props.timeout,
_props$style = props.style,
style = _props$style === void 0 ? {} : _props$style;
return {
duration: style.transitionDuration || typeof timeout === 'number' ? timeout : timeout[options.mode],
delay: style.transitionDelay
};
}