Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。
TypeScript agentai-agentai-assistantandroidclaude-codecodexelectroniosllmmacosreact-nativetypescriptwindows
import { CompanionSheet } from './CompanionSheet';
import type { ComposerSheetProps } from './ComposerSheet';
import type { MainWindowAction } from '@/components/MobilePrimitives';
type FormAction = MainWindowAction & { onPress(): void };
export type FormSheetProps = Pick<ComposerSheetProps,
'visible' | 'title' | 'onClose' | 'onClosed' | 'preventDismiss' | 'children' | 'testID'
> & {
leadingAction: FormAction;
trailingAction: FormAction;
onShow?(): void;
};
export function FormSheet(props: FormSheetProps) {
return <CompanionSheet {...props} initialSnap="full" keyboardAvoidingBehavior="padding" />;
}