@skhemata/skhemata-blog
Version:
Skhemata Blog Web Component. This web component provides several sub components in addition to main component, allowing featured blogs, blog listing and blog post display.
33 lines • 775 B
JavaScript
import { html } from '@skhemata/skhemata-base';
import '../skhemata-blog.js';
import { argTypes } from './argTypes.js';
export default {
title: 'Wordpress/SkhemataBlog/SkhemataBlogSearch',
component: 'skhemata-blog',
argTypes: {
blogPagePath: argTypes.blogPagePath,
},
};
const Template = ({ blogPagePath = '', }) => html `
<skhemata-blog-search
blogPagePath=${blogPagePath}
>
</skhemata-blog-search>
`;
export const Example = Template.bind({});
Example.args = {
blogPagePath: '',
};
Example.parameters = {
docs: {
source: {
code: `
<skhemata-blog-search
blog-page-path="${Example.args.blogPagePath}"
>
</skhemata-blog-search>
`,
},
},
};
//# sourceMappingURL=SkhemataBlogSearch.stories.js.map