@ant-design/pro-flow
Version:
A React based Flow components
25 lines (24 loc) • 657 B
TypeScript
import { SelectType } from "../FlowView/constants";
import React from 'react';
interface BloodNodeProps {
logo: string;
title?: string;
titleFlex?: string;
description?: string;
showIcon?: boolean;
icon?: string;
className?: string;
selectType?: SelectType;
zoom?: number;
label?: string;
titleSlot?: {
type: 'left' | 'right';
value: React.ReactNode;
};
handleType?: 'input' | 'output' | 'none' | ' both';
}
export declare const zoomNum: (num: number, zoom: number, limitMax?: boolean) => number;
declare const BasicNode: React.FC<{
data: BloodNodeProps;
}>;
export default BasicNode;