UNPKG

1.18 kBTypeScriptView Raw
1import * as React from 'react';
2export interface CssAnimationProps {
3 children?: React.ReactNode;
4 className?: string;
5 /**
6 * The name of the CSS animation (the `animation-name` CSS property) applied to the component when
7 * the transition is requested to enter.
8 */
9 enterAnimationName?: string;
10 /**
11 * The name of the CSS class applied to the component when the transition
12 * is requested to enter.
13 */
14 enterClassName?: string;
15 /**
16 * The name of the CSS animation (the `animation-name` CSS property) applied to the component when
17 * the transition is requested to exit.
18 */
19 exitAnimationName?: string;
20 /**
21 * The name of the CSS class applied to the component when the transition
22 * is requested to exit.
23 */
24 exitClassName?: string;
25}
26/**
27 *
28 * Demos:
29 *
30 * - [Transitions](https://mui.com/base-ui/react-transitions/)
31 *
32 * API:
33 *
34 * - [CssAnimation API](https://mui.com/base-ui/react-transitions/components-api/#css-animation)
35 */
36declare function CssAnimation(props: CssAnimationProps): React.JSX.Element;
37declare namespace CssAnimation {
38 var propTypes: any;
39}
40export { CssAnimation };