TypeScript definitions for React, the popular JavaScript library for building user interfaces
80
Build a TypeScript React component that displays user profile information with multiple elements.
Create a component that:
name (string), email (string), and bio (string) fieldsinterface User {
name: string;
email: string;
bio: string;
}
interface UserProfileProps {
user: User;
}
export default function UserProfile(props: UserProfileProps): JSX.Element;@generates
Provides React library for building components.
Provides TypeScript type definitions for React.
Install with Tessl CLI
npx tessl i tessl/npm-types--reactdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10