Skip to content

Commit

Permalink
pkp/pkp-lib#10033 Rename newly added component from DropdownMenu to D…
Browse files Browse the repository at this point in the history
…ropdownActions
  • Loading branch information
blesildaramirez committed Jun 24, 2024
1 parent 8b6cb29 commit f716fc1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import {Primary, Controls, Stories, Meta, Story} from '@storybook/blocks';
import DropdownMenu from './DropdownMenu.vue';
import DropdownActions from './DropdownActions.vue';

import * as DropdownMenuStories from './DropdownMenu.stories.js';
import * as DropdownActionsStories from './DropdownActions.stories.js';

<Meta of={DropdownMenuStories} />
<Meta of={DropdownActionsStories} />

# Dropdown Menu
# Dropdown Actions

## Usage

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import DropdownMenu from './DropdownMenu.vue';
import DropdownActions from './DropdownActions.vue';

export default {
title: 'Components/DropdownMenu',
component: DropdownMenu,
title: 'Components/DropdownActions',
component: DropdownActions,
render: (args) => ({
components: {DropdownMenu},
components: {DropdownActions},
setup() {
return {args};
},
template: '<DropdownMenu v-bind="args" />',
template: '<DropdownActions v-bind="args" />',
}),
argTypes: {
actions: {
Expand Down

0 comments on commit f716fc1

Please sign in to comment.