Skip to content
This repository was archived by the owner on Nov 4, 2025. It is now read-only.

Commit 807c540

Browse files
binyellowtoCfe
andauthored
feat: Modify deprecated APIs (#109)
Co-authored-by: branhuang <branhuang@tencent.com>
1 parent c64398f commit 807c540

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Align.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function getPoint(point: TargetType) {
4444
return point;
4545
}
4646

47-
const Align: React.RefForwardingComponent<RefAlign, AlignProps> = (
47+
const Align: React.ForwardRefRenderFunction<RefAlign, AlignProps> = (
4848
{ children, disabled, target, align, onAlign, monitorWindowResize, monitorBufferTime = 0 },
4949
ref,
5050
) => {

0 commit comments

Comments
 (0)