UNPKG

@atlaskit/pragmatic-drag-and-drop-react-accessibility

Version:

An optional package for Pragmatic drag and drop containing react components to assist with setting up accessible experiences

15 lines (14 loc) • 597 B
/** * @jsxRuntime classic * @jsx jsx */ import { type ForwardRefExoticComponent, type RefAttributes } from 'react'; import type { DragHandleButtonProps } from './types'; export type DragHandleButtonAppearance = 'default' | 'subtle' | 'selected'; /** * A button with pre-configured styling to look like a drag handle. * * This component uses a native button because the `@atlaskit/button` * cancels `mouseDown` events, which prevents dragging. */ export declare const DragHandleButtonBase: ForwardRefExoticComponent<Omit<DragHandleButtonProps, 'label'> & RefAttributes<HTMLButtonElement>>;