4.6.8 supplement (#831)

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
Archer
2024-02-15 12:26:02 +08:00
committed by GitHub
parent 51bbdf26a3
commit 91bcf8c53e
200 changed files with 4387 additions and 2749 deletions

View File

@@ -10,6 +10,7 @@ import { useCallback, useTransition } from 'react';
const PromptEditor = ({
showOpenModal = true,
showResize = true,
variables = [],
value,
onChange,
@@ -19,6 +20,7 @@ const PromptEditor = ({
title
}: {
showOpenModal?: boolean;
showResize?: boolean;
variables?: EditorVariablePickerType[];
value?: string;
onChange?: (text: string) => void;
@@ -48,7 +50,7 @@ const PromptEditor = ({
return (
<>
<Editor
showResize
showResize={showResize}
showOpenModal={showOpenModal}
onOpenModal={onOpen}
variables={variables}