const img = "https://www.figma.com/api/mcp/asset/67e5ba06-30ab-4e72-a9b2-26436b466cf4";
const img1 = "https://www.figma.com/api/mcp/asset/c6095006-bf77-4710-887c-7fbd8211c89b";
const img2 = "https://www.figma.com/api/mcp/asset/b599ac38-2977-42f3-8dc8-f47484f373d6";
const img3 = "https://www.figma.com/api/mcp/asset/6a0c2cb5-9064-4814-b5be-efaab979d8d2";
type InputNumberProps = {
className?: string;
property1?: "Default" | "Only Add" | "Only Reduce" | "Readonly";
};
export default function InputNumber({ className, property1 = "Default" }: InputNumberProps) {
const isOnlyAdd = property1 === "Only Add";
const isOnlyReduce = property1 === "Only Reduce";
const isReadonly = property1 === "Readonly";
return (
{isOnlyReduce ? "10" : isOnlyAdd ? "0" : isReadonly ? "6" : "6"}
);
}SUPER CRITICAL: The generated React+Tailwind code MUST be converted to match the target project's technology stack and styling system.
1. Analyze the target codebase to identify: technology stack, styling approach, component patterns, and design tokens
2. Convert React syntax to the target framework/library
3. Transform all Tailwind classes to the target styling system while preserving exact visual design
4. Follow the project's existing patterns and conventions
DO NOT install any Tailwind as a dependency unless the user instructs you to do so.
Node ids have been added to the code as data attributes, e.g. `data-node-id="1:2"`.Images and SVGs will be stored as constants, e.g. const image = 'https://www.figma.com/api/mcp/asset/550e8400-e29b-41d4-a716-446655440000'. These constants will be used in the code as the source for the image, ex:
. Image assets are stored on a remote server for 7 days and can be fetched using the provided URLs until they expire.