From ee8539a9351374a719c9026f85d85e7b4ea6e8f5 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 25 Sep 2021 16:11:31 +0200 Subject: chore: move tweaks to separate subfolder --- components/DropDownMenu.tsx | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 components/DropDownMenu.tsx (limited to 'components/DropDownMenu.tsx') diff --git a/components/DropDownMenu.tsx b/components/DropDownMenu.tsx deleted file mode 100644 index fbd854b..0000000 --- a/components/DropDownMenu.tsx +++ /dev/null @@ -1,28 +0,0 @@ -import { ChevronDownIcon } from '@chakra-ui/icons' -import { Button, Menu, MenuButton, MenuItem, MenuList, Portal } from '@chakra-ui/react' -import React from 'react' - -export interface DropDownMenuProps { - textArray: string[] - onClickArray: (() => void)[] - displayValue: string -} - -export const DropDownMenu = (props: DropDownMenuProps) => { - const { textArray, onClickArray, displayValue } = props - return ( - - }> - {displayValue} - - - {' '} - - {textArray.map((option, i) => { - ; {option} - })} - - - - ) -} -- cgit v1.2.3