Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import type { ReactNode } from "react";
export interface ComposerSheetProps {
nativeContent?: boolean;
/** Preserve the RN sheet path for content with its own ScrollView. */
contentScrolls?: boolean;
/** Use an ungrouped system list instead of the default form. */
nativeList?: boolean;
/** Set edit mode on the containing SwiftUI list so its reorder handles appear. */
nativeEditMode?: boolean;
/** Protect an unsaved or in-flight form; explicit Back/Save remains available. */
preventDismiss?: boolean;
nativeHeader?: ReactNode;
/** Keep the native root list mounted while a secondary page is shown. */
nativeRoot?: { active: boolean; header?: ReactNode; content: ReactNode };
visible: boolean;
onClose(): void;
onClosed?(): void;
title: string;
onBack?(): void;
/** Dim the back arrow while its action would be ignored (for example a save in flight). */
backDisabled?: boolean;
backLabel?: string;
children: ReactNode;
aboveContent?: ReactNode;
aboveContentTitle?: string;
footer?: ReactNode;
testID?: string;
}
export function ComposerSheet(_props: ComposerSheetProps) {
return null;
}