import * as React from 'react'; import { Th, Tr } from '@patternfly/react-table'; export const rbTableColumnClasses = { username: 'pf-m-width-25', role: 'pf-m-width-20', rolebinding: 'pf-m-width-40 wrap-column', kebab: 'pf-v6-c-table__action', }; const usernameColumnInfoPopover = 'Each row is one subject (user, group, or service account) from the role binding. Bindings with multiple subjects appear as multiple rows. Displays "-" when the binding has no subjects.'; const roleBindingColumnInfoPopover = 'A Role Binding grants the permissions defined in a role to a user or set of users. It holds a list of subjects (users, groups, or service accounts) and a reference to the role being granted.'; export type UserAccessTableHeaderSelectProps = { isAllSelected: boolean; isDisabled: boolean; onSelectAll: (event: React.FormEvent, isSelecting: boolean) => void; }; export type UserAccessTableHeaderRowProps = { headerSelect: UserAccessTableHeaderSelectProps; }; export const UserAccessTableHeaderRow: React.FC = ({ headerSelect, }) => ( Username Role Role Binding );