Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accordion Storybook entry is missing SbAccordion #523

Open
bemayr opened this issue Apr 5, 2024 · 0 comments
Open

Accordion Storybook entry is missing SbAccordion #523

bemayr opened this issue Apr 5, 2024 · 0 comments

Comments

@bemayr
Copy link

bemayr commented Apr 5, 2024

Problem

I am currently developing a custom field plugin and stumbled upon this issue.
The Storybook definition of the Accordion component is missing the Sb-prefix which prevents one from copy the code.

<Accordion
v-bind="args"
style="max-width: 300px"
>
<h2>Some text</h2>
<p>Some more text</p>
<template #contentInfo>
<span v-html="args.contentInfoSlot" />
</template>
</Accordion>

Solution

Just adding the prefix is enough. If I have enough time I will prepare a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant