Files
supabase/apps/studio/components/ui/GridFooter.tsx
Joshen LimandAlaister Young e0ae4942f4 Optimize table editor count (#27612)
* Optimize table editor count

* Add additional logic on when to enforce exact count

* Update apps/studio/data/table-rows/table-rows-count-query.ts

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>

* Reset enforceExactCount whenever a filter is applied

* Update showing exact row count warning logic

---------

Co-authored-by: Alaister Young <alaister@users.noreply.github.com>
2024-07-04 15:27:01 +08:00

13 lines
325 B
TypeScript

import { PropsWithChildren } from 'react'
import { cn } from 'ui'
export const GridFooter = ({ children, className }: PropsWithChildren<{ className?: string }>) => {
return (
<div
className={cn('flex min-h-9 overflow-hidden items-center px-2 w-full border-t', className)}
>
{children}
</div>
)
}