import React from 'react'; import clsx from 'clsx'; import { PARAMETER } from '@/utils/constants'; import { type Styling } from '../props'; interface DropdownProps extends Styling { /** Reference to the dropdown element. */ ref?: React.Ref; /** Unique ID for the dropdown. */ id?: string; /** Margin for the dropdown. */ margin?: string; /** Indicates whether the dropdown should stretch to the left. */ stretchLeft?: boolean; /** Indicates whether the dropdown should stretch to the top. */ stretchTop?: boolean; /** Indicates whether the dropdown is open. */ isOpen: boolean; } /** * Animated list of children with optional positioning and visibility control. * Note: Dropdown should be inside a relative container. */ export function Dropdown({ isOpen, stretchLeft, stretchTop, margin, className, children, style, ...restProps }: React.PropsWithChildren) { return (
{children}
); }