Ability to set column width and `className` for <th> and <td> in shadcn-ui Data Table

Hi, I am unable to add classNames to <th> and <td> in shadcn-ui Data Table, I used the same method as used on https://ui.shadcn.com/docs/components/data-table#basic-table but I am unable to set classNames in the above stated elements
Powerful table and datagrids built using TanStack Table.
Data Table
Was this page helpful?