Skip to content

Commit

Permalink
feat: expose dataColumns on useTable
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanmylee committed May 10, 2022
1 parent 99f7788 commit c0f479a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-headless-table",
"version": "0.0.2-alpha.8",
"version": "0.0.2-alpha.9",
"scripts": {
"dev": "svelte-kit dev",
"build": "svelte-kit build",
Expand Down
1 change: 1 addition & 0 deletions src/lib/useTable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ export const useTable = <Item, Plugins extends AnyPlugins = AnyPlugins>(
});

return {
dataColumns,
visibleColumns,
headerRows,
originalRows,
Expand Down

0 comments on commit c0f479a

Please sign in to comment.