style: framework options

This commit is contained in:
jialin
2025-11-18 20:01:54 +08:00
parent e85d59dfb0
commit 18f861f771
13 changed files with 70 additions and 25 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
import { PageActionType } from './types';
declare namespace Global {
type WithFalse<T> = T | false;
interface Pagination {
@@ -61,7 +63,7 @@ declare namespace Global {
interface ScrollerModalProps<T = unknown, U = unknown> {
title?: string;
action?: 'create' | 'update' | 'view' | 'edit';
action?: PageActionType;
open: boolean;
currentData?: T | null;
onOk?: (values: U) => void;