import React, { forwardRef } from 'react' import { Dropdown as BS5Dropdown, DropdownToggle as BS5DropdownToggle, DropdownMenu as BS5DropdownMenu, DropdownItem as BS5DropdownItem, DropdownDivider as BS5DropdownDivider, } from 'react-bootstrap-5' import type { DropdownProps, DropdownItemProps, DropdownToggleProps, DropdownMenuProps, } from '@/features/ui/components/types/dropdown-menu-props' import MaterialIcon from '@/shared/components/material-icon' export function Dropdown({ ...props }: DropdownProps) { return } export const DropdownItem = forwardRef< typeof BS5DropdownItem, DropdownItemProps >( ( { active, children, description, leadingIcon, trailingIcon, ...props }, ref ) => { const trailingIconType = active ? 'check' : trailingIcon return ( {leadingIcon && ( )} {children} {trailingIconType && ( )} {description && ( {description} )} ) } ) DropdownItem.displayName = 'DropdownItem' export function DropdownToggle({ ...props }: DropdownToggleProps) { return } export function DropdownMenu({ as = 'ul', ...props }: DropdownMenuProps) { return } export function DropdownDivider() { return