A framework for building native apps using React
Overall
score
100%
Evaluation — 100%
↑ 1.06xAgent success when using this tile
A simple mobile form component for capturing and managing user preferences with real-time validation.
Capture user information using appropriate text input fields.
Provide toggle switches for boolean preferences.
Provide a button to submit the form with validation.
@generates
import React from 'react';
export interface UserPreferences {
username: string;
email: string;
password: string;
notificationsEnabled: boolean;
darkModeEnabled: boolean;
}
export interface UserPreferencesFormProps {
onSubmit: (preferences: UserPreferences) => void;
initialValues?: Partial<UserPreferences>;
}
export const UserPreferencesForm: React.FC<UserPreferencesFormProps>;Provides core mobile UI components for building the form interface.
@satisfied-by
Provides the React framework for building the component.
@satisfied-by
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