Skip to content

Commit

Permalink
feat(docs): added List story
Browse files Browse the repository at this point in the history
  • Loading branch information
mtorromeo committed Nov 26, 2023
1 parent 1cab563 commit 67527d4
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions apps/docs/src/stories/Components/List.story.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<template>
<doc-page title="List">
<template #description>A <b>list</b> component embeds a formatted list (bulleted or numbered list) into page content.</template>

<template #apidocs>
<component-info src="packages/core/src/components/List/List.vue" />
<component-info src="packages/core/src/components/List/ListItem.vue" />
</template>

<pre v-md>
## Examples
</pre>

<story-canvas title="Basic">
<pf-list>
<pf-list-item>First</pf-list-item>
<pf-list-item>Second</pf-list-item>
<pf-list-item>Third</pf-list-item>
</pf-list>
</story-canvas>
</doc-page>
</template>

0 comments on commit 67527d4

Please sign in to comment.