Skip to content

Commit

Permalink
chore(preset): export pagination and sorting hooks (#1861)
Browse files Browse the repository at this point in the history
* chore(preset): export pagination and sorting hooks

* chore: add changeset
  • Loading branch information
adnasa authored Apr 12, 2021
1 parent 96dae72 commit e8ca0dc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/loud-feet-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@commercetools-frontend/ui-kit': patch
---

export `usePaginationState` and `useDataTableSortingState` from `presets`
2 changes: 2 additions & 0 deletions presets/ui-kit/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ export {
useToggleState,
useSorting,
useRowSelection,
usePaginationState,
useDataTableSortingState,
} from '@commercetools-uikit/hooks';

export { customProperties } from '@commercetools-uikit/design-system';
Expand Down

1 comment on commit e8ca0dc

@vercel
Copy link

@vercel vercel bot commented on e8ca0dc Apr 12, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.