mirror of
https://github.com/supabase/supabase.git
synced 2026-07-04 19:24:53 +08:00
15 lines
504 B
TypeScript
15 lines
504 B
TypeScript
import { type ComponentProps } from 'react'
|
|
import { IconPanel } from 'ui-patterns'
|
|
|
|
import HomeMenuIconPicker from '~/components/Navigation/NavigationMenu/HomeMenuIconPicker'
|
|
|
|
type IconPanelWithIconPickerProps = Omit<ComponentProps<typeof IconPanel>, 'icon'> & {
|
|
icon: string
|
|
}
|
|
|
|
function IconPanelWithIconPicker({ icon, ...props }: IconPanelWithIconPickerProps) {
|
|
return <IconPanel icon={<HomeMenuIconPicker icon={icon} width={18} height={18} />} {...props} />
|
|
}
|
|
|
|
export { IconPanelWithIconPicker }
|