mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 14:13:37 +08:00
fix: fix /es path to /lib path (#48914)
This commit is contained in:
parent
787cd94125
commit
4eefc49e8f
@ -3,7 +3,7 @@ import classNames from 'classnames';
|
||||
import CSSMotion from 'rc-motion';
|
||||
import raf from 'rc-util/lib/raf';
|
||||
import { render, unmount } from 'rc-util/lib/React/render';
|
||||
import { composeRef } from 'rc-util/es/ref';
|
||||
import { composeRef } from 'rc-util/lib/ref';
|
||||
|
||||
import { TARGET_CLS } from './interface';
|
||||
import type { ShowWaveEffect } from './interface';
|
||||
@ -129,13 +129,7 @@ const WaveEffect: React.FC<WaveEffectProps> = (props) => {
|
||||
{({ className: motionClassName }, ref) => (
|
||||
<div
|
||||
ref={composeRef(divRef, ref)}
|
||||
className={classNames(
|
||||
className,
|
||||
{
|
||||
'wave-quick': isSmallComponent,
|
||||
},
|
||||
motionClassName,
|
||||
)}
|
||||
className={classNames(className, { 'wave-quick': isSmallComponent }, motionClassName)}
|
||||
style={waveStyle}
|
||||
/>
|
||||
)}
|
||||
|
@ -7,7 +7,7 @@ import ExclamationCircleFilled from '@ant-design/icons/ExclamationCircleFilled';
|
||||
import InfoCircleFilled from '@ant-design/icons/InfoCircleFilled';
|
||||
import classNames from 'classnames';
|
||||
import CSSMotion from 'rc-motion';
|
||||
import { composeRef } from 'rc-util/es/ref';
|
||||
import { composeRef } from 'rc-util/lib/ref';
|
||||
import pickAttrs from 'rc-util/lib/pickAttrs';
|
||||
|
||||
import type { ClosableType } from '../_util/hooks/useClosable';
|
||||
|
@ -2,7 +2,7 @@ import React, { useContext, useEffect, useState } from 'react';
|
||||
import VerticalAlignTopOutlined from '@ant-design/icons/VerticalAlignTopOutlined';
|
||||
import classNames from 'classnames';
|
||||
import CSSMotion from 'rc-motion';
|
||||
import { composeRef } from 'rc-util/es/ref';
|
||||
import { composeRef } from 'rc-util/lib/ref';
|
||||
|
||||
import getScroll from '../_util/getScroll';
|
||||
import scrollTo from '../_util/scrollTo';
|
||||
|
Loading…
Reference in New Issue
Block a user