diff options
Diffstat (limited to 'client/src/components/CustomSelect/CustomSelect.jsx')
-rw-r--r-- | client/src/components/CustomSelect/CustomSelect.jsx | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/client/src/components/CustomSelect/CustomSelect.jsx b/client/src/components/CustomSelect/CustomSelect.jsx index 9969a6d..2f98b34 100644 --- a/client/src/components/CustomSelect/CustomSelect.jsx +++ b/client/src/components/CustomSelect/CustomSelect.jsx @@ -20,7 +20,15 @@ const CustomSelect = ({ options, onSelect }) => { return ( <div className={styles.select}> <div className={styles.selected__option} onClick={toggleDropdown}> - {selectedOption ? selectedOption.label : "Select an option"} + {selectedOption ? ( + <> + <span></></span> + <span>{selectedOption.label}</span> + <span>▼</span> + </> + ) : ( + "Select an option" + )} </div> {isOpen && ( <div className={styles.options}> |