import { html, TemplateResult } from 'lit';
import '../src/kmap-jsxgraph.js';
export default {
title: 'KmapJsxGraph',
component: 'kmap-jsxgraph',
argTypes: {
},
};
interface Story {
(args: T): TemplateResult;
args?: Partial;
argTypes?: Record;
}
interface ArgTypes {
attributes?: string;
script?: string;
}
const Template: Story = ({
attributes = "{ boundingBox: [-2*Math.PI, 1.5, 2*Math.PI, -1.5] }",
script = "this.board.create('functiongraph', [function(x) { return Math.sin(x) }, -2*Math.PI, 2*Math.PI]);",
}: ArgTypes) => html`
`;
export const Regular = Template.bind({});