figma: https://www.figma.com/file/ZJNAFHCAq6rnuGRgUFxjzQ/Organizations----New-features?type=design&node-id=4304-330348&mode=design&t=nKonHZpucwxnqwQI-4 (Not all features are in this PR) loom: https://www.loom.com/share/30e8ef20a5b34a708dca160d8c04ae6f shoutout @shadcn for the base of this table <3 Member View:  Admin view:  How to test - Create ORG - add members - view settings -> orgs -> members
8 lines
285 B
TypeScript
8 lines
285 B
TypeScript
import "@tanstack/react-table";
|
|
|
|
declare module "@tanstack/table-core" {
|
|
interface ColumnMeta<TData extends RowData, TValue> {
|
|
hasPermissions?: (data?: TData) => boolean; // We can conditionally render a column based on this callback -> User doesnt have admin for example.
|
|
}
|
|
}
|