Skip to content

Commit

Permalink
fix: added advanced table example and fixed input margin
Browse files Browse the repository at this point in the history
  • Loading branch information
mwargan committed Apr 12, 2024
1 parent 8f44ed9 commit 83760fd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stories/Components/Table.stories.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Meta, StoryObj } from "@storybook/vue3";
import image2 from "../assets/placeholder.png";

type HTMLInputElementCustom = HTMLTableElement & {
columnsToShow?: number;
Expand Down Expand Up @@ -87,7 +88,7 @@ export const AdvancedTable: Story = {
() => `
<tr>
<td><input type="checkbox" aria-label="checkbox"></td>
<td><img src="https://via.placeholder.com/150" alt="placeholder" height="150" width="150"></td>
<td><img src="${image2}" alt="placeholder" height="150" width="150"></td>
<td><input type="text" value="${cellText}" aria-label="text-input"></td>
<td>
<select name="select" aria-label="select">
Expand Down

0 comments on commit 83760fd

Please sign in to comment.