docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Create a React component that displays a numeric input with increment/decrement controls, where different parts of the component have distinct custom styling.
Build a counter component that:
The styling should be applied to the semantic parts of the component, not through wrapper elements or traditional CSS targeting.
import React from 'react';
/**
* A styled numeric counter component with custom styling for different parts
*/
export default function StyledCounter(): React.ReactElement;Provides numeric input functionality with built-in controls and styling capabilities.