import clsx from 'clsx'; import { motion } from 'framer-motion'; import { animateDropdown } from '@/utils/animations'; import { CProps } from '../props'; interface DropdownProps extends CProps.Styling { stretchLeft?: boolean isOpen: boolean children: React.ReactNode } function Dropdown({ isOpen, stretchLeft, className, children, ...restProps }: DropdownProps) { return (