From afba8fcb3411e6efcb73d8f2303600aff2cfb2e0 Mon Sep 17 00:00:00 2001 From: Steven H Date: Mon, 7 Jul 2025 10:05:45 +0100 Subject: [PATCH] Rating columns in tables now use a solid icons instead of unfilled. (#3434) --- .../src/components/DocumentView/Table/RecordColumnValue.tsx | 3 ++- packages/icons/src/Icon.tsx | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/gitbook/src/components/DocumentView/Table/RecordColumnValue.tsx b/packages/gitbook/src/components/DocumentView/Table/RecordColumnValue.tsx index 710746a92..b66c4a4ee 100644 --- a/packages/gitbook/src/components/DocumentView/Table/RecordColumnValue.tsx +++ b/packages/gitbook/src/components/DocumentView/Table/RecordColumnValue.tsx @@ -4,7 +4,7 @@ import { type DocumentBlockTable, SiteInsightsLinkPosition, } from '@gitbook/api'; -import { Icon } from '@gitbook/icons'; +import { Icon, IconStyle } from '@gitbook/icons'; import assertNever from 'assert-never'; import { Checkbox } from '@/components/primitives'; @@ -98,6 +98,7 @@ export async function RecordColumnValue( ))} diff --git a/packages/icons/src/Icon.tsx b/packages/icons/src/Icon.tsx index eb457aeec..871489ea4 100644 --- a/packages/icons/src/Icon.tsx +++ b/packages/icons/src/Icon.tsx @@ -16,8 +16,7 @@ export type IconProps = React.SVGProps & { icon: IconName; /** - * Style of the icon to render. - * @default 'solid' + * Style of the icon to render. Defaults to the current icon style from the context. */ iconStyle?: IconStyle;