From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/pagination/type.ts | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/app/components/base/pagination/type.ts b/app/components/base/pagination/type.ts
index c3744c0..07580e1 100644
--- a/app/components/base/pagination/type.ts
+++ b/app/components/base/pagination/type.ts
@@ -31,7 +31,7 @@
}
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & {
- as?: React.ReactNode
+ as?: React.ReactElement
children?: string | React.ReactNode
className?: string
dataTestId?: string
@@ -39,9 +39,9 @@
type PageButtonProps = ButtonProps & {
/**
- * Provide a custom ReactNode (e.g. Next/Link)
+ * Provide a custom ReactElement (e.g. Next/Link)
*/
- as?: React.ReactNode
+ as?: React.ReactElement
activeClassName?: string
inactiveClassName?: string
dataTestIdActive?: string
--
Gitblit v1.8.0