rsuite
Version:
A suite of react components
7 lines (6 loc) • 319 B
TypeScript
/**
* Determines whether the tree node should be expanded based on the search keyword and expand flag.
* If a search keyword is provided, the node is always expanded.
* Otherwise, the node is expanded if the expand flag is true.
*/
export declare function isExpand(searchKeyword: string, expand: boolean): boolean;