11 lines
568 B
TypeScript
11 lines
568 B
TypeScript
import type React from 'react';
|
|
import type { ReactNode } from 'react';
|
|
import type { EditableConfig } from './interface';
|
|
/**
|
|
* We trade Map as deps which may change with same value but different ref object.
|
|
* We should make it as hash for deps
|
|
* */
|
|
export declare function stringify<K extends string | number | symbol, V>(obj: Record<K, V> | Map<K, V>): string;
|
|
export declare function genDataNodeKey(key: React.Key): string;
|
|
export declare function getRemovable(closable?: boolean, closeIcon?: ReactNode, editable?: EditableConfig, disabled?: boolean): boolean;
|