This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function PopoverContent({ | |
| ref, | |
| ...props | |
| }: React.ComponentProps<typeof PopoverPrimitive.Content>) { | |
| const handleContentHeight = React.useCallback((el: HTMLDivElement | null) => { | |
| if (el) { | |
| const availableHeight = parseInt( | |
| window | |
| .getComputedStyle(el) | |
| .getPropertyValue('--radix-popper-available-height') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const TurkishCharMap: Record<string, string> = { | |
| Ç: 'C', | |
| ç: 'c', | |
| Ğ: 'G', | |
| ğ: 'g', | |
| İ: 'I', | |
| ı: 'i', | |
| Ö: 'O', | |
| ö: 'o', | |
| Ş: 'S', |