Fixing the fact that the addon-docs ember framework wasn't outputting the default value properly

This commit is contained in:
jguze 2020-04-21 17:36:36 -07:00
parent 37a1f6ab12
commit 1a78ad2156
2 changed files with 2 additions and 1 deletions

View File

@ -14,7 +14,7 @@ export const extractArgTypes = (componentName) => {
const rows = componentDoc.attributes.arguments.map((prop) => {
return {
name: prop.name,
defaultValue: prop.defaultValue,
defaultValue: { summary: prop.defaultValue },
description: prop.description,
table: {
type: {

View File

@ -23,6 +23,7 @@ export default Component.extend({
* The hex-formatted color code for the background.
* @argument backgroundColor
* @type {string}
* @default null
*/
backgroundColor: null,