Skip to content

Feature/#216 create input stepper component - #387

Closed
devrodrigolec wants to merge 14 commits into
devfrom
feature/#216-create-input-stepper-component
Closed

devrodrigolec wants to merge 14 commits into
devfrom
feature/#216-create-input-stepper-component

Conversation

@devrodrigolec

Copy link
Copy Markdown
Collaborator

Closes #216


const handleDecrement = () => {
if (typeof value === 'number') {
if (value === 0) return;

@antonio06 antonio06 Sep 25, 2025 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

instead of this, i prefrer do this:

if (value > 0) {
setValue(value - 1);
}

@antonio06 antonio06 closed this Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create an input stepper component (place it under rich components)

3 participants