https://dev.kronoz.win/r/marzneshin.git
| 1 |
0178858 |
Dawsh |
2y ago |
import type { |
| 2 |
0178858 |
Dawsh |
2y ago |
DraggableSyntheticListeners, |
| 3 |
0178858 |
Dawsh |
2y ago |
} from "@dnd-kit/core" |
| 4 |
0178858 |
Dawsh |
2y ago |
import React from "react"; |
| 5 |
0178858 |
Dawsh |
2y ago |
|
| 6 |
0178858 |
Dawsh |
2y ago |
interface SortableItemContextProps { |
| 7 |
0178858 |
Dawsh |
2y ago |
attributes: React.HTMLAttributes<HTMLElement> |
| 8 |
0178858 |
Dawsh |
2y ago |
listeners: DraggableSyntheticListeners | undefined |
| 9 |
0178858 |
Dawsh |
2y ago |
} |
| 10 |
0178858 |
Dawsh |
2y ago |
|
| 11 |
0178858 |
Dawsh |
2y ago |
export const SortableItemContext = React.createContext<SortableItemContextProps>({ |
| 12 |
0178858 |
Dawsh |
2y ago |
attributes: {}, |
| 13 |
0178858 |
Dawsh |
2y ago |
listeners: undefined, |
| 14 |
0178858 |
Dawsh |
2y ago |
}) |