Change PropType of className from object to string