Skip to content

feat: Dragging between different sortable components #410

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { getItems } from '@/utils';
const DATA = getItems(8);
const COLUMNS = 4;

export default function MultiZoneExample() {
export default function MultipleZonesExample() {
const renderItem = useCallback<SortableGridRenderItem<string>>(
({ item }) => <GridCard>{item}</GridCard>,
[]
Expand Down
2 changes: 1 addition & 1 deletion example/app/src/examples/SortableGrid/features/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ export { default as DragHandleExample } from './DragHandleExample';
export { default as DropIndicatorExample } from './DropIndicatorExample';
export { default as FixedItemsExample } from './FixedItemsExample';
export { default as HorizontalAutoScrollExample } from './HorizontalAutoScrollExample';
export { default as MultiZoneExample } from './MultiZoneExample';
export { default as MultipleZonesExample } from './MultipleZonesExample';
export { default as OrderingStrategyExample } from './OrderingStrategyExample';
export { default as TouchableExample } from './TouchableExample';
4 changes: 2 additions & 2 deletions example/app/src/examples/navigation/routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ const routes: Routes = {
name: 'Fixed Items'
},
MultiZone: {
Component: SortableGrid.features.MultiZoneExample,
name: 'Multi Zone'
Component: SortableGrid.features.MultipleZonesExample,
name: 'Multiple Zones'
},
Callbacks: {
Component: SortableGrid.features.CallbacksExample,
Expand Down
Loading