mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-06 07:21:16 +08:00
17 lines
389 B
JavaScript
17 lines
389 B
JavaScript
import { html } from 'lit';
|
|
import './demo-wc-card';
|
|
|
|
export default {
|
|
component: 'demo-wc-card',
|
|
};
|
|
|
|
const Template = ({ backSide, header, rows }) =>
|
|
html`
|
|
<demo-wc-card .backSide="${backSide}" .header="${header}" .rows="${rows}"
|
|
>A simple card</demo-wc-card
|
|
>
|
|
`;
|
|
|
|
export const Front = Template.bind({});
|
|
Front.args = { backSide: false, header: undefined, rows: [] };
|