Skip to content

Commit

Permalink
pkp/pkp-lib#10033 Add select options for Dropdown controls in Storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
blesildaramirez committed Jun 20, 2024
1 parent ef172cf commit ac197dd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/DropdownActions/DropdownActions.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ export default {
},
template: '<DropdownActions v-bind="args" />',
}),
argTypes: {
direction: {
control: {type: 'select'},
options: ['left', 'right'],
},
},
decorators: [
() => ({
template:
Expand Down

0 comments on commit ac197dd

Please sign in to comment.