import { html, TemplateResult } from 'lit';
import '../src/fridge-magnets.js';
export default {
title: 'FridgeMagnets',
component: 'fridge-magnets',
argTypes: {
backgroundColor: { control: 'color' },
},
};
interface Story {
(args: T): TemplateResult;
args?: Partial;
argTypes?: Record;
}
interface ArgTypes {
header?: string;
backgroundColor?: string;
}
const Template: Story = ({ header, backgroundColor = 'white' }: ArgTypes) => html`
`;
export const App = Template.bind({});
App.args = {
header: 'My app',
};