Skip to content

Commit

Permalink
fix(docz): remove lowercasing of enum ts prop type
Browse files Browse the repository at this point in the history
  • Loading branch information
rakannimer committed Nov 26, 2019
1 parent 531244f commit 8f7b949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/docz/src/utils/humanize-prop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ const getTypeStr = (type: PropType | FlowType): any => {

return JSON.stringify(rst, null, 2)
default:
return capitalize(type.name)
return type.name
}
}

Expand Down

0 comments on commit 8f7b949

Please sign in to comment.