import React from 'react'; import { useThemeProps } from '../../../hooks/useThemeProps'; import type { IScaleFadeProps } from './types'; import PresenceTransition from './PresenceTransition'; const ScaleFade = ( { children, style, ...props }: IScaleFadeProps, ref?: any ) => { const { in: animationState, duration, initialScale } = useThemeProps( 'ScaleFade', props ); return ( {children} ); }; export default React.memo(React.forwardRef(ScaleFade));