CallioText API Reference - v0.0.22
    Preparing search index...

    Variable UniversalExtraConst

    UniversalExtra: MemoExoticComponent<
        (
            __namedParameters: {
                accept_image?: boolean;
                extra_small?: boolean;
                label?: string;
                onActivate?: (
                    value: string,
                    editor: EditorComponent,
                    node: ConceptNode & Node,
                ) => void;
                onDeactivate?: (
                    value: string,
                    editor: EditorComponent,
                    node: ConceptNode & Node,
                ) => void;
                onNodeChange?: (
                    cur_node: ConceptNode & Node,
                    prev_node: (ConceptNode & Node) | undefined,
                    prev_value: string,
                ) => string | undefined;
                variation?: "standard" | "outlined" | "filled";
                width?: string;
            },
        ) => Element,
    > = ...

    这个组件提供一个通用的行内嵌入参数编辑器。

    参数标签

    参数宽度

    参数变体

    是否为小尺寸

    进入焦点的回调

    离开焦点的回调

    节点内容变化的回调,可以返回一个新的值用于更新参数内容。