@akinon/akitable 0.0.2 → 0.0.4

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.
@@ -1,5 +1,6 @@
1
- import React from 'react';
2
1
  import { TableAction } from '../../types';
2
+ import { default as React } from 'react';
3
+
3
4
  interface DataTableActionsProps<T> {
4
5
  selectedRows?: T[];
5
6
  tableActions: TableAction<T>[];
@@ -1,5 +1,6 @@
1
- import React, { Dispatch, ReactNode } from 'react';
2
- import type { UseDataTablePagination } from '../../types';
1
+ import { UseDataTablePagination } from '../../types';
2
+ import { default as React, Dispatch, ReactNode } from 'react';
3
+
3
4
  export type Action = {
4
5
  type: 'RESET';
5
6
  } | {
@@ -1,3 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare const DataTableFooter: () => React.JSX.Element;
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,7 @@
1
- import { TableRowSelection } from 'antd/es/table/interface';
2
- import React from 'react';
3
1
  import { TableAction } from '../../types';
2
+ import { default as React } from 'react';
3
+ import { TableRowSelection } from 'antd/es/table/interface';
4
+
4
5
  interface DataTableHeaderProps<T> {
5
6
  title: string;
6
7
  description: string;
@@ -1,3 +1,4 @@
1
- import React from 'react';
1
+ import { default as React } from 'react';
2
+
2
3
  export declare const DataTablePagination: () => React.JSX.Element;
3
4
  //# sourceMappingURL=index.d.ts.map