UNPKG

@senyao-design-system/magic-tree

Version:

A tree component implemented with Konva for handling large datasets.

23 lines (22 loc) 1.04 kB
/** Default height for each tree node in pixels. */ export declare const DEFAULT_NODE_HEIGHT: number; /** Default indentation width for each level of the tree in pixels. */ export declare const DEFAULT_INDENT_WIDTH: number; /** Size of the expand/collapse icon in pixels. */ export declare const ICON_SIZE: number; /** Padding around the icon. */ export declare const ICON_PADDING: number; /** Color for the expand/collapse icon. */ export declare const ICON_COLOR: string; /** Color for the node label text. */ export declare const LABEL_COLOR: string; /** Font size for the node label. */ export declare const LABEL_FONT_SIZE: number; /** Font family for the node label. */ export declare const LABEL_FONT_FAMILY: string; /** Color for the hover state of a node. */ export declare const NODE_HOVER_COLOR: string; /** Delay in milliseconds for showing hover actions. */ export declare const HOVER_ACTION_DELAY: number; /** Minimum height for the custom scrollbar thumb in pixels. */ export declare const MIN_SCROLLBAR_THUMB_HEIGHT: number;