mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-31 05:03:21 +08:00
Fixing the fact that the addon-docs ember framework wasn't outputting the default value properly
This commit is contained in:
parent
37a1f6ab12
commit
1a78ad2156
@ -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: {
|
||||
|
@ -23,6 +23,7 @@ export default Component.extend({
|
||||
* The hex-formatted color code for the background.
|
||||
* @argument backgroundColor
|
||||
* @type {string}
|
||||
* @default null
|
||||
*/
|
||||
backgroundColor: null,
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user