I wonder if there is a way to check prop types case insensitive in React. Basically, the solution should replace the following code. As far as I checked, there is no solution on the official documentation of prop-types.
Brand.propTypes = {
name: PropTypes.oneOf([
'google',
'Google',
'GOOGLE'
])
}