diff --git a/src/components/PropTypeInfo.js b/src/components/PropTypeInfo.js index c6daeae93..c42f990db 100644 --- a/src/components/PropTypeInfo.js +++ b/src/components/PropTypeInfo.js @@ -24,6 +24,10 @@ const PropTypeInfo = ({ type }) => {
{'>'}
); + case 'oneOfType': + return type.meta.types.map((type, idx) => ( + + )); default: return null; }