Open
Description
I defined a propType like this:
type: PropTypes.oneOf(['cute', 'aggressive', 'shy']),
This resulted in:
{
computed: false,
value: "'shy'",
}
You can see the shy is wrapped in a single tick and in double quotes. Kind of a string in a string ;)]
Is this a feature or bug? I'm happy to submit a PR in case this is a bug.
Additional info: when I use numbers they are also presented as a String:
noseLength: PropTypes.oneOf([33, 42, 88]),