mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-10280] Storybook stories for Sorting Picker component (#7773)
* Added Output types to descriptions * [AAE-10280] Storybook stories for Sorting Picker component
This commit is contained in:
@@ -33,6 +33,13 @@ export default {
|
||||
]
|
||||
})
|
||||
],
|
||||
parameters: {
|
||||
docs: {
|
||||
description: {
|
||||
component: 'Displays a list of comments from users involved in a specified task or node'
|
||||
}
|
||||
}
|
||||
},
|
||||
argTypes: {
|
||||
comments: {
|
||||
control: 'object',
|
||||
@@ -43,8 +50,11 @@ export default {
|
||||
},
|
||||
clickRow: {
|
||||
action: 'clickRow',
|
||||
description: 'Emitted when the user clicks on one of the comment rows.',
|
||||
table: { category: 'Actions' }
|
||||
description: 'Emitted when the user clicks on one of the comment rows',
|
||||
table: {
|
||||
category: 'Actions',
|
||||
type: { summary: 'EventEmitter <CommentModel>' }
|
||||
}
|
||||
}
|
||||
}
|
||||
} as Meta;
|
||||
|
@@ -37,6 +37,14 @@ export default {
|
||||
]
|
||||
})
|
||||
],
|
||||
parameters: {
|
||||
docs: {
|
||||
description: {
|
||||
component: `Displays comments from users involved in a specified task or node.
|
||||
Allows an involved user to add a comment to a task or a node.`
|
||||
}
|
||||
}
|
||||
},
|
||||
argTypes: {
|
||||
comments: {
|
||||
control: 'object',
|
||||
@@ -70,8 +78,11 @@ export default {
|
||||
},
|
||||
error: {
|
||||
action: 'error',
|
||||
description: 'Emitted when an error occurs while displaying/adding a comment.',
|
||||
table: { category: 'Actions' }
|
||||
description: 'Emitted when an error occurs while displaying/adding a comment',
|
||||
table: {
|
||||
category: 'Actions',
|
||||
type: { summary: 'EventEmitter <any>' }
|
||||
}
|
||||
}
|
||||
}
|
||||
} as Meta;
|
||||
|
Reference in New Issue
Block a user