@open-tender/ui
Version:
A component library for use with the Open Tender web app
16 lines (15 loc) • 546 B
TypeScript
import React from 'react';
import { Handlers, ScreenConfig } from '../types';
export interface QuantityProps {
config: ScreenConfig;
handlers: Handlers;
quantity: number;
incrementDisabled?: boolean;
decrementDisabled?: boolean;
fontSize: number;
iconSize: number;
strokeWidth?: number;
className?: string;
}
declare const Quantity: ({ config, handlers, quantity, incrementDisabled, decrementDisabled, fontSize, iconSize, strokeWidth, className }: QuantityProps) => React.JSX.Element;
export default Quantity;