From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +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