Skip to content

Commit

Permalink
doc(elements): storybook entry for pos-predicate
Browse files Browse the repository at this point in the history
  • Loading branch information
angelo-v committed Dec 16, 2024
1 parent 29a7d81 commit 38daf2c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions storybook/stories/10_pos-predicate.stories.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import {html} from "lit-html";

import {
Canvas,
Meta,
Story
} from '@storybook/addon-docs/blocks';

<Meta
title="Basics"
args={{ uri: "https://schema.org/name", label: "name" }}
/>

## pos-predicate

<Canvas
withSource="open">
<Story
name="pos-predicate"
>
{({uri, label}) => html`
<pos-predicate uri=${uri} label="${label}">
</pos-resource>
`}
</Story>
</Canvas>

0 comments on commit 38daf2c

Please sign in to comment.