Skip to content

Commit

Permalink
uui card wip
Browse files Browse the repository at this point in the history
  • Loading branch information
JesmoDev committed Aug 23, 2024
1 parent d79fb08 commit 74dded7
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions packages/uui-card/lib/uui-card.stories.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
import '.';
import { html } from 'lit';
import type { Meta, StoryObj } from '@storybook/web-components';
import { spread } from '../../../storyhelpers/spread-directive';

const meta: Meta = {
id: 'uui-card',
component: 'uui-card',
title: 'Displays/Cards/Card',
};

export default meta;
type Story = StoryObj;

/**
* Card is a Component that provides the basics for a Card component. This can be extended in code to match a certain need.
*/
export const Default: Story = {
render: args => html`
<uui-card ${spread(args)} selectable>
<div>
<p>
This is an example of a simple card. It can be used to display
information in a structured way.
</p>
</div>
</uui-card>
`,
};

0 comments on commit 74dded7

Please sign in to comment.