mirror of
https://github.com/supabase/supabase.git
synced 2026-10-10 20:05:06 +03:00
* very wip * add expandable rows * fix table layout, collapsible row, spacing issues * use new query with filters everywhere * rm unused queries * rm unused fn * improve loading state * fix text overflowing in role * rm padding so that table doesn't always need scroll * fix icon in search input * add latency to table row heading to clarify what col youre sorting with * rm unused imports * run prettier * align sql with row content * add syntax highlighting and sort icons * rm copy btn * move tailwind dep to correct package, rm unused syntax highlighting, rm unused component
15 lines
369 B
TypeScript
15 lines
369 B
TypeScript
import { Button, IconRefreshCw } from 'ui'
|
|
|
|
interface Props {
|
|
title: string
|
|
onRefresh: () => void
|
|
isLoading: boolean
|
|
}
|
|
|
|
const ReportHeader: React.FC<Props> = ({ title, onRefresh, isLoading }) => (
|
|
<div className="flex flex-row justify-between gap-4 items-center">
|
|
<h1 className="text-2xl text-foreground">{title}</h1>
|
|
</div>
|
|
)
|
|
export default ReportHeader
|