@awsui/components-react
Version:
On July 19th, 2022, we launched [Cloudscape Design System](https://cloudscape.design). Cloudscape is an evolution of AWS-UI. It consists of user interface guidelines, front-end components, design resources, and development tools for building intuitive, en
15 lines • 601 B
TypeScript
export type Direction = 'block-start' | 'block-end' | 'inline-start' | 'inline-end';
export type DirectionState = 'active' | 'disabled';
export type TriggerMode = 'focus' | 'keyboard-activate' | 'controlled';
export interface DragHandleWrapperProps {
directions: Partial<Record<Direction, DirectionState>>;
onDirectionClick?: (direction: Direction) => void;
tooltipText?: string;
children: React.ReactNode;
wrapperClassName?: string;
triggerMode?: TriggerMode;
initialShowButtons?: boolean;
controlledShowButtons?: boolean;
hideButtonsOnDrag: boolean;
clickDragThreshold: number;
}