import { html } from '@skhemata/skhemata-base'; import '../skhemata-faq.js'; import { argTypes, ArgTypes, Story } from './argTypes.js'; export default { title: 'Wordpress/SkhemataFaq/SkhemataFaqList', component: 'skhemata-faq', argTypes: { apiWordpress: argTypes.apiWordpress, postsPerPage: argTypes.postsPerPage, pagerType: argTypes.pagerType, navigate: argTypes.navigate, skhemataFaqTextColor: argTypes.skhemataFaqTextColor, skhemataFaqListTitleColor: argTypes.skhemataFaqListTitleColor, }, }; const Template: Story = ({ apiWordpress = { url: 'https://wp.thrinacia.com/wp-json/wp/v2', }, postsPerPage = 10, pagerType = 'infinite', skhemataFaqTextColor, skhemataFaqListTitleColor, }: ArgTypes) => html` `; export const Example = Template.bind({}); Example.args = { apiWordpress: { url: 'https://wp.thrinacia.com/wp-json/wp/v2', }, postsPerPage: 10, pagerType: "infinite", }; Example.parameters = { docs: { source: { code: ` `, }, }, };