feat: Dynamic currency (#36416)

This commit is contained in:
Richard Fogaca Nienkotter
2026-01-17 02:58:41 -03:00
committed by GitHub
parent 896947c787
commit f4474b2e3e
72 changed files with 3068 additions and 173 deletions

View File

@@ -892,7 +892,7 @@ export default function TableChart<D extends DataRecord = DataRecord>(
columnKey: key,
accessor: ((datum: D) => datum[key]) as never,
Cell: ({ value, row }: { value: DataRecordValue; row: Row<D> }) => {
const [isHtml, text] = formatColumnValue(column, value);
const [isHtml, text] = formatColumnValue(column, value, row.original);
const html = isHtml && allowRenderHtml ? { __html: text } : undefined;
let backgroundColor;