Skip to content

Commit

Permalink
Re-export isSortable
Browse files Browse the repository at this point in the history
  • Loading branch information
clauderic committed Feb 4, 2025
1 parent c5f25c8 commit b8898bc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/re-export-sortable.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@dnd-kit/react': patch
---

Re-export `isSortable` from `@dnd-kit/react/sortable` so React consumers don't have to import it from `@dnd-kit/dom/sortable`.
2 changes: 2 additions & 0 deletions packages/react/src/sortable/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,5 @@

export {useSortable} from './useSortable.ts';
export type {UseSortableInput} from './useSortable.ts';

export {isSortable} from '@dnd-kit/dom/sortable';

0 comments on commit b8898bc

Please sign in to comment.