Render function that receives the current value and its state setter.
Value used to initialize the state.
Render function that receives the current value and its state setter.