mirror of
https://github.com/supabase/supabase.git
synced 2026-10-17 15:19:08 +03:00
update container
This commit is contained in:
1 parent
dc5fdaf611
commit
ebd8926cce
1 file changed
+4
@@ -3,6 +3,7 @@ import { DragEvent, PropsWithChildren, ReactNode } from 'react'
|
||||
import { cn, Tooltip, TooltipContent, TooltipTrigger } from 'ui'
|
||||
|
||||
interface ReportBlockContainerProps {
|
||||
icon?: ReactNode
|
||||
label: string
|
||||
badge?: ReactNode
|
||||
actions: ReactNode
|
||||
@@ -14,6 +15,7 @@ interface ReportBlockContainerProps {
|
||||
}
|
||||
|
||||
export const ReportBlockContainer = ({
|
||||
icon,
|
||||
label,
|
||||
badge,
|
||||
actions,
|
||||
@@ -47,6 +49,8 @@ export const ReportBlockContainer = ({
|
||||
<div className="absolute left-3 top-2.5 z-10 opacity-0 transition-opacity group-hover:opacity-100">
|
||||
<GripHorizontal size={16} strokeWidth={1.5} />
|
||||
</div>
|
||||
) : icon ? (
|
||||
icon
|
||||
) : (
|
||||
<Code size={16} strokeWidth={1.5} className="text-foreground-muted" />
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user