RowCountSelector() — supabase Function Reference
Architecture documentation for the RowCountSelector() function in Pagination.tsx from the supabase codebase.
Entity Profile
Relationship Graph
Source Code
apps/studio/components/grid/components/footer/pagination/Pagination.tsx lines 30–49
const RowCountSelector = ({
onRowsPerPageChange,
}: {
onRowsPerPageChange: (value: number | string) => void
}) => {
const tableEditorSnap = useTableEditorStateSnapshot()
return (
<DropdownControl
options={rowsPerPageOptions}
onSelect={onRowsPerPageChange}
side="top"
align="start"
>
<Button asChild type="outline" style={{ padding: '3px 10px' }}>
<span>{`${tableEditorSnap.rowsPerPage} rows`}</span>
</Button>
</DropdownControl>
)
}
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free