tessl install tessl/npm-types--react@19.1.0TypeScript definitions for React, the popular JavaScript library for building user interfaces
Agent Success
Agent success rate when using this tile
80%
Improvement
Agent success rate improvement when using this tile compared to baseline
1.48x
Baseline
Agent success rate without this tile
54%
Build a reusable component wrapper system that provides consistent layout and behavior for different types of child components.
Create a TypeScript module that exports wrapper components with properly typed props that work seamlessly with various child components.
Build a Card wrapper component that:
variant prop that can be "default" or "bordered"padding prop that can be "small", "medium", or "large"Build a ButtonWrapper component that:
onClick, disabled, type, etc.)icon prop of type string@generates
export function Card(props: /* YOUR TYPE HERE */): JSX.Element;
export function ButtonWrapper(props: /* YOUR TYPE HERE */): JSX.Element;Provides TypeScript type definitions for React.