@skhemata/skhemata-faq
Version:
Skhemata FAQ Web Component. This web component provides website FAQ functionality with question and answer style of FAQ.
33 lines • 756 B
JavaScript
import { html } from '@skhemata/skhemata-base';
import '../skhemata-faq.js';
import { argTypes } from './argTypes.js';
export default {
title: 'Wordpress/SkhemataFaq/SkhemataFaqSearch',
component: 'skhemata-faq',
argTypes: {
faqPagePath: argTypes.faqPagePath
},
};
const Template = ({ faqPagePath = '' }) => 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>
`,
},
},
};
//# sourceMappingURL=SkhemataFaqSearch.stories.js.map