Skip to content

Commit ecba7a7

Browse files
Merge branch 'dev' of github.com:code-kern-ai/submodule-react-components into dev
2 parents 1a7665d + fcc2188 commit ecba7a7

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

components/Dropdown.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { Menu, Transition } from '@headlessui/react'
33
import { ChevronDownIcon } from '@heroicons/react/20/solid'
44
import { DropdownProps } from '../types/dropdown';
55
import { combineClassNames } from '../../javascript-functions/general';
6-
import { IconClock } from '@tabler/icons';
76

87

98
export default function Dropdown(props: DropdownProps) {
@@ -17,7 +16,6 @@ export default function Dropdown(props: DropdownProps) {
1716
${isDisabled ? "opacity-50" : ""}`}
1817
disabled={isDisabled}
1918
>
20-
{props.hasIconClock ? <IconClock className="h-5 w-5 text-gray-900" aria-hidden="true" /> : null}
2119
{props.buttonName}
2220
<ChevronDownIcon
2321
className="-mr-1 ml-2 h-5 w-5"

types/dropdown.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
* @selectedOption {function} - The function that will be called when an option is selected
66
* @disabled {DropdownOptionsProps} - If the dropdown is disabled
77
* @itemsClasses {string} - The classes that will be applied to the dropdown items
8-
* @hasIconClock {boolean} - If the dropdown has a clock icon
98
* @onlyArray {boolean} - If the dropdown has only an array of strings
109
* @dropdownWidth {string} - The width of the dropdown
1110
*/
@@ -15,7 +14,6 @@ export type DropdownProps = {
1514
selectedOption: (event: any) => void;
1615
disabled?: boolean;
1716
itemsClasses?: string;
18-
hasIconClock?: boolean;
1917
onlyArray?: boolean;
2018
dropdownWidth?: string;
2119
}

0 commit comments

Comments
 (0)