const [coffeeCount,setCoffeCount] = useState(0);
<Counter
start={coffeeCount}
onChange={(newCount) => {
console.log(coffeeCount.toString);
console.log(newCount);
setCoffeeCount(newCount);
setInteractionMade(true);
}}
buttonStyle={styles.counterButton}
buttonTextStyle={styles.counterButtonText}
countTextStyle={styles.counterText}
/>
coffeeCount is state of Component.
Stat props doesn't work, but start={3} works