SelectColumn.renderHeaderCell() — supabase Function Reference
Architecture documentation for the SelectColumn.renderHeaderCell() function in SelectColumn.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/grid/components/grid/SelectColumn.tsx lines 27–40
renderHeaderCell: (props: RenderHeaderCellProps<unknown>) => {
// [Joshen] formatter is actually a valid React component, so we can use hooks here
// eslint-disable-next-line react-hooks/rules-of-hooks
const [isRowSelected, onRowSelectionChange] = useRowSelection()
return (
<SelectCellHeader
aria-label="Select All"
tabIndex={props.tabIndex}
value={isRowSelected}
onChange={(checked) => onRowSelectionChange({ type: 'HEADER', checked })}
/>
)
},
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free