diff --git a/src/Explorer.js b/src/Explorer.js index ea2ed42..a4fcf48 100644 --- a/src/Explorer.js +++ b/src/Explorer.js @@ -737,34 +737,54 @@ class AbstractArgView extends React.PureComponent { ); } else if (isScalarType(argType)) { - if (argType.name === 'Boolean') { - input = ( - - ); - } else { - input = ( - - ); + switch (argType.name) { + case 'Boolean': + input = ( + + ); + break; + case 'HexColorCode': + input = ( + + ); + break; + case 'Date': + input = ( + + ); + break; + default: + input = ( + + ); } } else if (isEnumType(argType)) { if (argValue.kind === 'EnumValue') {