Open Joebim opened 1 month ago
Create a custom dropdown component. The dropdown should be able to display a list of options and allow the user to select one.
options: array
selectedOption: string
onSelect: function
CustomDropdown
{{Image}}
Feature has been implemented and tested, waiting for approval
Description
Create a custom dropdown component. The dropdown should be able to display a list of options and allow the user to select one.
Acceptance Criteria
Requirements
Props
CustomDropdown
options: array
- The list of options to display.selectedOption: string
- The currently selected option.onSelect: function
- Function to call when an option is selected.Tests
Tasks
CustomDropdown
component.Links
{{Image}}![image](https://github.com/user-attachments/assets/990684f9-d9fa-43ce-a7b6-8f02d2ada43b)