From 8f7b9491cf1572f59388b47ad8f94158a65dd3ab Mon Sep 17 00:00:00 2001 From: rakannimer Date: Tue, 26 Nov 2019 14:02:00 +0200 Subject: [PATCH] fix(docz): remove lowercasing of enum ts prop type --- core/docz/src/utils/humanize-prop.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/docz/src/utils/humanize-prop.ts b/core/docz/src/utils/humanize-prop.ts index 124113218..e76295a15 100644 --- a/core/docz/src/utils/humanize-prop.ts +++ b/core/docz/src/utils/humanize-prop.ts @@ -44,7 +44,7 @@ const getTypeStr = (type: PropType | FlowType): any => { return JSON.stringify(rst, null, 2) default: - return capitalize(type.name) + return type.name } }