diff --git a/website/docs/table-group/data-table/data-table-code.md b/website/docs/table-group/data-table/data-table-code.md index 28dc9b9182..8dc36f8b4b 100644 --- a/website/docs/table-group/data-table/data-table-code.md +++ b/website/docs/table-group/data-table/data-table-code.md @@ -286,7 +286,7 @@ You can enable selecting rows with checkboxes with the `selectedRows` and `onSel To customize the content of a table cell, use the `renderCell` prop. -It receives props described in [`CellRenderProps`](/table-group/data-table/data-table-api#cellrenderprops). +It receives props described in [`CellRenderProps`](/table-group/data-table/data-table-api#rendercell). You can return either a custom React element to override the rendering entirely, or an object that will be applied as props to the cell. If the returned object includes a children property, it will override the default cell content—otherwise, you can use it to apply custom attributes such as theming or data attributes. diff --git a/website/tools/check-links.ts b/website/tools/check-links.ts index c3bb693168..a410b27072 100644 --- a/website/tools/check-links.ts +++ b/website/tools/check-links.ts @@ -51,7 +51,7 @@ function extractLinks(content: string) { // don't check commented links const prev = token.children[i - 1]; - if (prev && prev.type === 'text' && (prev.content.startsWith(''))) { + if (prev && prev.type === 'text' && prev.content.startsWith('