File tree Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Expand file tree Collapse file tree 2 files changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ import { Menu, Transition } from '@headlessui/react'
3
3
import { ChevronDownIcon } from '@heroicons/react/20/solid'
4
4
import { DropdownProps } from '../types/dropdown' ;
5
5
import { combineClassNames } from '../../javascript-functions/general' ;
6
- import { IconClock } from '@tabler/icons' ;
7
6
8
7
9
8
export default function Dropdown ( props : DropdownProps ) {
@@ -17,7 +16,6 @@ export default function Dropdown(props: DropdownProps) {
17
16
${ isDisabled ? "opacity-50" : "" } ` }
18
17
disabled = { isDisabled }
19
18
>
20
- { props . hasIconClock ? < IconClock className = "h-5 w-5 text-gray-900" aria-hidden = "true" /> : null }
21
19
{ props . buttonName }
22
20
< ChevronDownIcon
23
21
className = "-mr-1 ml-2 h-5 w-5"
Original file line number Diff line number Diff line change 5
5
* @selectedOption {function} - The function that will be called when an option is selected
6
6
* @disabled {DropdownOptionsProps} - If the dropdown is disabled
7
7
* @itemsClasses {string} - The classes that will be applied to the dropdown items
8
- * @hasIconClock {boolean} - If the dropdown has a clock icon
9
8
* @onlyArray {boolean} - If the dropdown has only an array of strings
10
9
* @dropdownWidth {string} - The width of the dropdown
11
10
*/
@@ -15,7 +14,6 @@ export type DropdownProps = {
15
14
selectedOption : ( event : any ) => void ;
16
15
disabled ?: boolean ;
17
16
itemsClasses ?: string ;
18
- hasIconClock ?: boolean ;
19
17
onlyArray ?: boolean ;
20
18
dropdownWidth ?: string ;
21
19
}
You can’t perform that action at this time.
0 commit comments