SnippetDropdownProps Type — supabase Architecture
Architecture documentation for the SnippetDropdownProps type/interface in SnippetDropdown.tsx from the supabase codebase.
Entity Profile
Source Code
apps/studio/components/interfaces/HomeNew/SnippetDropdown.tsx lines 24–32
type SnippetDropdownProps = {
projectRef?: string
trigger: ReactNode
side?: 'top' | 'bottom' | 'left' | 'right'
align?: 'start' | 'center' | 'end'
className?: string
autoFocus?: boolean
onSelect: (snippet: { id: string; name: string }) => void
}
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free