I\'m trying to build a generic React component which allows number, string, or Date values. I want users of the component to be able to define a callback when the value is upda