@tanstack/react-table
Advanced tools
Comparing version 9.0.0-alpha.4 to 9.0.0-alpha.6
@@ -9,2 +9,2 @@ import { TableOptions, RowData } from '@tanstack/table-core'; | ||
export declare function flexRender<TProps extends object>(Comp: Renderable<TProps>, props: TProps): React.ReactNode | JSX.Element; | ||
export declare function useReactTable<TData extends RowData>(options: TableOptions<TData>): import('@tanstack/table-core').Table<TData>; | ||
export declare function useTable<TData extends RowData>(options: TableOptions<TData>): import('@tanstack/table-core').Table<TData>; |
import { jsx } from "react/jsx-runtime"; | ||
import * as React from "react"; | ||
import { createTable } from "@tanstack/table-core"; | ||
import { _createTable } from "@tanstack/table-core"; | ||
export * from "@tanstack/table-core"; | ||
@@ -20,3 +20,3 @@ function flexRender(Comp, props) { | ||
} | ||
function useReactTable(options) { | ||
function useTable(options) { | ||
const resolvedOptions = { | ||
@@ -32,3 +32,3 @@ state: {}, | ||
const [tableRef] = React.useState(() => ({ | ||
current: createTable(resolvedOptions) | ||
current: _createTable(resolvedOptions) | ||
})); | ||
@@ -55,4 +55,4 @@ const [state, setState] = React.useState(() => tableRef.current.initialState); | ||
flexRender, | ||
useReactTable | ||
useTable | ||
}; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@tanstack/react-table", | ||
"version": "9.0.0-alpha.4", | ||
"version": "9.0.0-alpha.6", | ||
"description": "Headless UI for building powerful tables & datagrids for React.", | ||
@@ -49,3 +49,3 @@ "author": "Tanner Linsley", | ||
"dependencies": { | ||
"@tanstack/table-core": "9.0.0-alpha.4" | ||
"@tanstack/table-core": "9.0.0-alpha.6" | ||
}, | ||
@@ -52,0 +52,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17717
221
+ Added@tanstack/table-core@9.0.0-alpha.6(transitive)
- Removed@tanstack/table-core@9.0.0-alpha.4(transitive)