Fix default value for web components prop table docs (#9655)

Fix default value for web components prop table docs
This commit is contained in:
Norbert de Langen 2020-01-30 10:45:52 +01:00 committed by GitHub
commit 71ee7af200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ function mapData(data) {
type: { summary: item.type },
required: '',
description: item.description,
defaultValue: { summary: item.defaultValue },
defaultValue: { summary: item.default !== undefined ? item.default : item.defaultValue },
}));
}