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