/** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ import { IJsonSchema } from '@flowgram.ai/json-schema'; import { ConstantRendererProps } from '@/plugins'; export interface Strategy { hit: (schema: IJsonSchema) => boolean; Renderer: React.FC>; } export interface PropsType extends ConstantRendererProps { schema: IJsonSchema; strategies?: Strategy[]; fallbackRenderer?: React.FC; [key: string]: any; }