@skhemata/skhemata-faq
Version:
Skhemata FAQ Web Component. This web component provides website FAQ functionality with question and answer style of FAQ.
37 lines (34 loc) • 716 B
text/typescript
import { html } from '@skhemata/skhemata-base';
import '../skhemata-faq.js';
import { argTypes, ArgTypes, Story } from './argTypes.js';
export default {
title: 'Wordpress/SkhemataFaq/SkhemataFaqSearch',
component: 'skhemata-faq',
argTypes: {
faqPagePath: argTypes.faqPagePath
},
};
const Template: Story<ArgTypes> = ({
faqPagePath = ''
}: ArgTypes) => html`
<skhemata-faq-search
faqPagePath=${faqPagePath}
>
</skhemata-faq-search>
`;
export const Example = Template.bind({});
Example.args = {
faqPagePath: '',
}
Example.parameters = {
docs: {
source: {
code: `
<skhemata-faq-search
faq-page-path="${Example.args.faqPagePath}"
>
</skhemata-faq-search>
`,
},
},
}