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 } }