/**
* A single row inside the table.
* @hidden
*/
export function TableRow<T>({ level, row, columns }: { level: number; row: T; columns: TableColumn<T>[] }) {
return (
<tr className="datacore-table-row" style={level ? `padding-left: ${level * 5}px` : undefined}>
{columns.map((col) => (
<TableRowCell row={row} column={col} />
))}
</tr>
);
}
padding-left on a <tr> tag doesn't do anything, at least not in Obsidian. The padding should instead apply to the first TableRowCell
padding-lefton a<tr>tag doesn't do anything, at least not in Obsidian. The padding should instead apply to the firstTableRowCell