Rating columns in tables now use a solid icons instead of unfilled. (#3434)

This commit is contained in:
Steven H
2025-07-07 10:05:45 +01:00
committed by GitHub
parent 377a4899e4
commit afba8fcb34
2 changed files with 3 additions and 3 deletions
@@ -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<Tag extends React.ElementType = 'div'>(
<Icon
key={i}
icon="star"
iconStyle={IconStyle.SharpSolid}
className={tcls('size-[15px]', 'text-primary')}
/>
))}
+1 -2
View File
@@ -16,8 +16,7 @@ export type IconProps = React.SVGProps<SVGSVGElement> & {
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;