UNPKG

@rxflow/base

Version:

BaseFlow - 核心 Flow 组件库

14 lines 698 B
/** * @author: yanxianliang * @date: 2025-10-15 15:25 * @modified:2025/10/15 15:25 by yanxianliang * @desc: 创建 Flow 组件 * * 提供公众能力封装 * * Copyright (c) 2025 by yanxianliang, All Rights Reserved. */ import { IBaseFlowProps } from "../types"; import React, { PropsWithChildren } from "react"; export declare function createFlow<Props = IBaseFlowProps, ExtendProps = {}>(FlowComponent: React.ComponentType<IBaseFlowProps & ExtendProps>, usePropsTransform?: (props: PropsWithChildren<Props>) => PropsWithChildren<IBaseFlowProps & ExtendProps>): (props: React.PropsWithChildren<Props>) => import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=createFlow.d.ts.map