rsuite
Version:
A suite of react components
17 lines • 441 B
JavaScript
'use client';
import PropTypes from 'prop-types';
export function getAnimationEnd() {
var style = document.createElement('div').style;
if ('webkitAnimation' in style) {
return 'webkitAnimationEnd';
}
return 'animationend';
}
export var animationPropTypes = {
onEnter: PropTypes.func,
onEntering: PropTypes.func,
onEntered: PropTypes.func,
onExit: PropTypes.func,
onExiting: PropTypes.func,
onExited: PropTypes.func
};