From d88dc6e35a256fb885deb55072cf7f66bf86af34 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Mon, 2 Dec 2024 10:01:20 +0100 Subject: [PATCH] Fix TableCell type definition --- src/components/data/TableCell.tsx | 2 +- .../components/patterns/navigation/LinkPage.tsx | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/components/data/TableCell.tsx b/src/components/data/TableCell.tsx index 7de62ec3..0b57709c 100644 --- a/src/components/data/TableCell.tsx +++ b/src/components/data/TableCell.tsx @@ -8,7 +8,7 @@ import TableContext from './TableContext'; import TableSectionContext from './TableSectionContext'; export type TableCellProps = PresentationalProps & - Omit, 'size'> & { + Omit, 'size'> & { /** Remove default padding, allowing consuming code to control it */ unpadded?: boolean; }; diff --git a/src/pattern-library/components/patterns/navigation/LinkPage.tsx b/src/pattern-library/components/patterns/navigation/LinkPage.tsx index b1f05fa4..92ca0503 100644 --- a/src/pattern-library/components/patterns/navigation/LinkPage.tsx +++ b/src/pattern-library/components/patterns/navigation/LinkPage.tsx @@ -74,7 +74,9 @@ export default function LinkPage() { HTMLAnchorElement. - {'preact.JSX.AnchorHTMLAttributes'} + + {'preact.JSX.AnchorHTMLAttributes'} +