Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
onPress={() => onChange(adjustedValue - 1)}
title={decreaseButtonLabel}
style={styles.buttonMinus}
/>
{adjustedValue}
onChange(adjustedValue + 1)}
title={increaseButtonLabel}
style={styles.buttonPlus}
/>
);
};