Skip to content

Commit 7c02791

Browse files
committed
fix: add default size to highlight to match normal text size
1 parent 174d3d6 commit 7c02791

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/mantine-react-table/src/components/body/MRT_TableBodyCellValue.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const MRT_TableBodyCellValue = <TData extends MRT_RowData>({
2626
}: Props<TData>) => {
2727
const {
2828
getState,
29-
options: { enableFilterMatchHighlighting, mantineHighlightProps },
29+
options: { enableFilterMatchHighlighting, mantineHighlightProps = {size: 'sm'}},
3030
} = table;
3131
const { column, row } = cell;
3232
const { columnDef } = column;
@@ -37,7 +37,7 @@ export const MRT_TableBodyCellValue = <TData extends MRT_RowData>({
3737
cell,
3838
column,
3939
row,
40-
table,
40+
table
4141
}) as Partial<HighlightProps>;
4242

4343
let renderedCellValue =

0 commit comments

Comments
 (0)