From 4f79da9732d22bf244110eff7fd257be3dfb0e61 Mon Sep 17 00:00:00 2001 From: Gauthier Fiorentino Date: Mon, 31 Aug 2026 17:34:01 +0200 Subject: [PATCH] fix(Table): Remove non-color variants from colorVariants Namely "sm", "lg" and "multiline" --- src/Table.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/Table.tsx b/src/Table.tsx index 7a67b7a84..5079d4ea7 100644 --- a/src/Table.tsx +++ b/src/Table.tsx @@ -31,7 +31,14 @@ export namespace TableProps { type ExtractColorVariant = FrClassName extends `fr-table--${infer AccentColor}` ? Exclude< AccentColor, - "no-scroll" | "no-caption" | "caption-bottom" | "layout-fixed" | "bordered" + | "no-scroll" + | "no-caption" + | "caption-bottom" + | "layout-fixed" + | "bordered" + | "multiline" + | "sm" + | "lg" > : never;