Skip to content

Commit

Permalink
docs(piped-list): use generic items for documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tillywoodfield committed Nov 7, 2024
1 parent 4334220 commit bdb01c2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/scss/components/piped-list/piped-list.stories.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { html } from "lit";

import type { Meta, StoryObj } from "@storybook/web-components";

const items = ["IATI Home", "News", "Events", "Contacts"];

const meta: Meta = {
title: "Components/Piped List",
};
Expand All @@ -14,7 +12,9 @@ type Story = StoryObj;
export const PipedList: Story = {
render: () => html`
<ul class="iati-piped-list">
${items.map((i) => html`<li>${i}</li>`)}
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
`,
};

0 comments on commit bdb01c2

Please sign in to comment.