wargerm 0.2.33 → 0.2.37
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/Table/index.d.ts +4 -3
- package/dist/index.esm.js +2325 -2846
- package/dist/index.js +2328 -2869
- package/package.json +1 -1
@@ -1,6 +1,6 @@
|
|
1
|
-
import React from 'react';
|
1
|
+
import React, { MutableRefObject } from 'react';
|
2
2
|
import { ReactNode } from 'react';
|
3
|
-
import { FormProps } from 'antd';
|
3
|
+
import { FormInstance, FormProps } from 'antd';
|
4
4
|
interface ColumnProps {
|
5
5
|
title: string;
|
6
6
|
dataIndex: string;
|
@@ -96,13 +96,14 @@ declare type Props = {
|
|
96
96
|
rowSelection?: IRowSelection;
|
97
97
|
scroll?: Iscroll;
|
98
98
|
pagination?: false | Record<string, any>;
|
99
|
+
formRef?: MutableRefObject<FormInstance>;
|
99
100
|
children?: ReactNode;
|
100
101
|
form?: FormProps;
|
101
102
|
search?: Isearch | false;
|
102
103
|
frameBoxTable?: boolean;
|
103
104
|
frameBoxDirection?: 'in' | 'out';
|
104
105
|
};
|
105
|
-
declare function Table({ columns, dataSource: tableList, request, onLoad, params, onSubmit, rowKey, onRow, className, rowClassName, rowSelection, style, tbodyStyle, thStyle, border, scroll, pagination, search, frameBoxTable, frameBoxDirection, ...props }: Props): JSX.Element;
|
106
|
+
declare function Table({ columns, dataSource: tableList, request, onLoad, params, onSubmit, rowKey, onRow, className, rowClassName, rowSelection, style, tbodyStyle, thStyle, border, scroll, pagination, search, frameBoxTable, frameBoxDirection, formRef, ...props }: Props): JSX.Element;
|
106
107
|
declare namespace Table {
|
107
108
|
var defaultProps: {
|
108
109
|
rowKey: string;
|