feat: support static website

This commit is contained in:
Henry Li
2026-01-24 18:01:27 +08:00
parent 3ffce7667c
commit cd63f41b4c
36 changed files with 4889 additions and 92 deletions

View File

@@ -438,6 +438,7 @@ export type PromptInputProps = Omit<
"onSubmit" | "onError"
> & {
accept?: string; // e.g., "image/*" or leave undefined for any
disabled?: boolean;
multiple?: boolean;
// When true, accepts drops anywhere on document. Default false (opt-in).
globalDrop?: boolean;
@@ -459,6 +460,7 @@ export type PromptInputProps = Omit<
export const PromptInput = ({
className,
accept,
disabled,
multiple,
globalDrop,
syncHiddenInput,