mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 03:15:06 +03:00
13 lines
335 B
TypeScript
13 lines
335 B
TypeScript
import { Database, ScrollText } from 'lucide-react'
|
|
|
|
import type { QuerySourceId } from '@/data/query-sources/query-source-registry'
|
|
|
|
export const QuerySourceIcon = ({
|
|
source,
|
|
...props
|
|
}: {
|
|
source: QuerySourceId
|
|
className?: string
|
|
size?: number
|
|
}) => (source === 'logs' ? <ScrollText {...props} /> : <Database {...props} />)
|