aboutsummaryrefslogtreecommitdiffstats
path: root/packages/react-docs/src/utils
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-11 16:39:30 +0800
committerFabio Berger <me@fabioberger.com>2018-04-11 16:39:30 +0800
commitbce97c2543d8f1f4fef3e65086d25ed37977b361 (patch)
treee594408b570db0c93595e9c087703d6cbedc3c3d /packages/react-docs/src/utils
parent34446cf5697a58a130c16f480bf021e707708982 (diff)
downloaddexon-0x-contracts-bce97c2543d8f1f4fef3e65086d25ed37977b361.tar.gz
dexon-0x-contracts-bce97c2543d8f1f4fef3e65086d25ed37977b361.tar.zst
dexon-0x-contracts-bce97c2543d8f1f4fef3e65086d25ed37977b361.zip
Add support for displaying default param values
Diffstat (limited to 'packages/react-docs/src/utils')
-rw-r--r--packages/react-docs/src/utils/typedoc_utils.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/react-docs/src/utils/typedoc_utils.ts b/packages/react-docs/src/utils/typedoc_utils.ts
index e9035def0..9c89b135a 100644
--- a/packages/react-docs/src/utils/typedoc_utils.ts
+++ b/packages/react-docs/src/utils/typedoc_utils.ts
@@ -395,6 +395,7 @@ export const typeDocUtils = {
name: entity.name,
comment,
isOptional,
+ defaultValue: entity.defaultValue,
type,
};
return parameter;