diff --git a/src/Align.tsx b/src/Align.tsx index e621863..5778b78 100644 --- a/src/Align.tsx +++ b/src/Align.tsx @@ -44,7 +44,7 @@ function getPoint(point: TargetType) { return point; } -const Align: React.RefForwardingComponent = ( +const Align: React.ForwardRefRenderFunction = ( { children, disabled, target, align, onAlign, monitorWindowResize, monitorBufferTime = 0 }, ref, ) => {