UNPKG

@szzbmy/lowcode-cli

Version:

🐇 lowcode-cli is an efficient cli tool for Rabbitpre plugin component secondary development. ❤️

20 lines (19 loc) 606 B
import React from 'react'; import { IncConfirmInputProps } from './confirm-input'; import { IncTextInputProps } from './input-text'; export declare enum GENERATOR_TYPE { CONFIRM = 0, TEXT_INPUT = 1, SELECT = 2 } declare type Options = IncConfirmInputProps | IncTextInputProps; interface GeneratorType { type: GENERATOR_TYPE; options: Options; } /** * @param {GeneratorType} props.type 指定交互类型 * @param {Record<keyof, any>} props.options 对应交互组件参数 */ export declare const InteractiveGenerator: (props: GeneratorType) => React.ReactElement | null; export {};