import { HStack, IconButton, NumberInput } from '@chakra-ui/react'; import * as React from 'react'; import { LuMinus, LuPlus } from 'react-icons/lu'; export interface StepperInputProps extends NumberInput.RootProps { label?: React.ReactNode; } export const StepperInput = React.forwardRef(function StepperInput(props, ref) { const { label, ...rest } = props; return ( {label && {label}} ); }); const DecrementTrigger = React.forwardRef( function DecrementTrigger(props, ref) { return ( ); }, ); const IncrementTrigger = React.forwardRef( function IncrementTrigger(props, ref) { return ( ); }, );