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