@tachybase/module-workflow
Version:
A powerful BPM tool that provides foundational support for business automation, with the capability to extend unlimited triggers and nodes.
17 lines (16 loc) • 594 B
TypeScript
import { TreeSelectProps } from 'antd';
export type CollectionSelectProps = {
value: string[] | string;
onChange: (value: string[] | string) => void;
title?: string;
multiple?: boolean;
filter?(field: any): boolean;
collection?: string;
needLeaf?: boolean;
useCollection?(props: Pick<CollectionSelectProps, 'collection'>): string;
rootOption?: {
label: string;
value: string;
};
};
export declare const CollectionTreeSelect: (props: Omit<TreeSelectProps, "suffixIcon"> & CollectionSelectProps) => import("react/jsx-runtime").JSX.Element;