From 95e4f15fd8d9f7f4c9ad8ac85025fc69ad75e189 Mon Sep 17 00:00:00 2001 From: Steven Hall Date: Fri, 4 Jul 2025 15:44:14 +0100 Subject: [PATCH] Rating columns in tables now use a solid icons instead of unfilled. --- .../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 710746a92b..b66c4a4ee7 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 eb457aeec8..871489ea4b 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;