A framework for building native apps using React
Overall
score
100%
Evaluation — 100%
↑ 1.06xAgent success when using this tile
Build a mobile form screen that allows users to edit their profile information. The form should handle keyboard interactions gracefully and display a confirmation dialog before saving changes.
The form should display the following input fields:
The form must automatically adjust its layout when the keyboard appears to ensure all input fields remain visible and accessible. The adjustment should:
When the user taps the Save button, display a confirmation dialog that:
The confirmation dialog should be implemented as an overlay component (not using the Alert API).
@generates
import React from 'react';
interface ProfileFormProps {
initialName?: string;
initialEmail?: string;
initialBio?: string;
onSave?: (data: { name: string; email: string; bio: string }) => void;
}
/**
* A form component for editing user profile information.
* Handles keyboard interactions and displays a confirmation dialog before saving.
*/
export default function ProfileForm(props: ProfileFormProps): React.ReactElement;Provides mobile UI components and layout management.
Install with Tessl CLI
npx tessl i tessl/npm-react-native@1000.0.0docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10