UNPKG

react-native-sortables

Version:

Powerful Sortable Components for Flexible Content Reordering in React Native

30 lines 1.93 kB
import { BaseZone, CustomHandle, SortableFlex, SortableLayer, SortableTouchable } from './components'; export type { CustomHandleProps, SortableLayerProps } from './components'; export * from './constants/layoutAnimations'; export { useItemContext } from './providers'; export { useAutoScrollContext, useCommonValuesContext, useCustomHandleContext, useDragContext, useIsInPortalOutlet, useMeasurementsContext, usePortalContext, useZoneContext } from './providers'; export { useFlexLayoutContext } from './providers/flex'; export { useGridLayoutContext } from './providers/grid'; export type { ActiveItemDroppedCallback, ActiveItemDroppedParams, DragEndCallback, DragMoveCallback, DragMoveParams, DragStartCallback, DragStartParams, DropIndicatorComponentProps, OrderChangeCallback, OrderChangeParams, OverDrag, ReorderTriggerOrigin, SortableFlexDragEndCallback, SortableFlexDragEndParams, SortableFlexProps, SortableFlexStrategy, SortableFlexStyle, SortableGridDragEndCallback, SortableGridDragEndParams, SortableGridProps, SortableGridRenderItem, SortableGridRenderItemInfo, SortableGridStrategy, SortStrategyFactory } from './types'; export { DragActivationState } from './types'; declare const Sortable: { Flex: typeof SortableFlex; Grid: <I>(props: import("./types").SortableGridProps<I>) => import("react").JSX.Element; Handle: typeof CustomHandle; Layer: typeof SortableLayer; MultiZoneProvider: import("react").FC<{ minActivationDistance?: import("./integrations/reanimated").Animatable<number>; } & { children?: import("react").ReactNode | undefined; }>; PortalProvider: import("react").FC<{ enabled?: boolean; propagateToOuterPortal?: boolean; } & { children?: import("react").ReactNode | undefined; }>; Touchable: typeof SortableTouchable; BaseZone: typeof BaseZone; }; export default Sortable; //# sourceMappingURL=index.d.ts.map