Skip to content

Commit e213685

Browse files
committed
Pull request #46: EOA-4178: fix typos and remove default value in 'col-list-menu-item' component
Merge in DEV/colibri-docs from feature/EOA-4178_improve_documentation_in_storybook to release/current * commit 'cb41a66ad142dd5ba090268c3fb74c122a01f186': EOA-4178: fix typos and remove default value in 'col-list-menu-item' component
2 parents 0e7581d + cb41a66 commit e213685

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/components/col-dropdown/col-dropdown.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ import { Callout } from '../../_storybook/components';
122122
Custom Button and List Items:
123123
- Make sure you register correctly ColButton component in order to use it.
124124
- Do not forget the `slot="trigger"` to define the trigger of the dropdown list.
125-
- The list could be any sort of content such as `<p>`, `<ul>`, etc... However given our Design System, more likely it will usually be `col-list-item` and `col-list-item-menu`.
125+
- The list could be any sort of content such as `<p>`, `<ul>`, etc... However given our Design System, more likely it will usually be `col-list-menu` and `col-list-menu-item`.
126126

127127
### Dropdown with only Colibri Components
128128
As mentioned in the last Storie and according to the example shown in the [How to use it](#how-to-use-it) section, this storie is for a dropdown with only colibri components for both trigger and content.

src/components/col-dropdown/col-dropdown.stories.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -160,10 +160,8 @@ export const ColibriComponents: Story = {
160160
<col-icon name="chevron-down"></col-icon>
161161
</col-button>
162162
<col-list-menu role="menuitem">
163-
<col-list-menu-item variant="button" value="content">Content</col-list-menu-item>
164-
<col-list-menu-item variant="button" value="extra-content"
165-
>Extra Content</col-list-menu-item
166-
>
163+
<col-list-menu-item value="content">Content</col-list-menu-item>
164+
<col-list-menu-item value="extra-content">Extra Content</col-list-menu-item>
167165
</col-list-menu>
168166
</col-dropdown>
169167
`,

0 commit comments

Comments
 (0)