React input-number component with step controls, validation, and formatting features
92
Quality
Pending
Does it follow best practices?
Impact
92%
1.48xAverage score across 10 eval scenarios
Build a React component that provides a temperature control interface using a numeric input field with validation. The component should allow users to set a target temperature with proper constraints and provide programmatic controls to adjust the temperature.
Create a TemperatureController component that:
The component must maintain the temperature state internally and update it both when users interact with the numeric input and when preset buttons are clicked.
@generates
import React from 'react';
/**
* Temperature controller component with preset buttons and numeric input
* @returns A React component with temperature controls
*/
export default function TemperatureController(): React.ReactElement;Provides a React numeric input component with validation and step controls.
@satisfied-by
Install with Tessl CLI
npx tessl i tessl/npm-rc-input-numberdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10