File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
gitbook/src/components/DocumentView/Table Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 4
4
type DocumentBlockTable ,
5
5
SiteInsightsLinkPosition ,
6
6
} from '@gitbook/api' ;
7
- import { Icon } from '@gitbook/icons' ;
7
+ import { Icon , IconStyle } from '@gitbook/icons' ;
8
8
import assertNever from 'assert-never' ;
9
9
10
10
import { Checkbox } from '@/components/primitives' ;
@@ -98,6 +98,7 @@ export async function RecordColumnValue<Tag extends React.ElementType = 'div'>(
98
98
< Icon
99
99
key = { i }
100
100
icon = "star"
101
+ iconStyle = { IconStyle . SharpSolid }
101
102
className = { tcls ( 'size-[15px]' , 'text-primary' ) }
102
103
/>
103
104
) ) }
Original file line number Diff line number Diff line change @@ -16,8 +16,7 @@ export type IconProps = React.SVGProps<SVGSVGElement> & {
16
16
icon : IconName ;
17
17
18
18
/**
19
- * Style of the icon to render.
20
- * @default 'solid'
19
+ * Style of the icon to render. Defaults to the current icon style from the context.
21
20
*/
22
21
iconStyle ?: IconStyle ;
23
22
You can’t perform that action at this time.
0 commit comments