diff --git a/public/assets/list/arrow.svg b/public/assets/list/arrow.svg index 45c385d..da2cee8 100644 --- a/public/assets/list/arrow.svg +++ b/public/assets/list/arrow.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/src/ts/components/CustomSelect/components/Icon.tsx b/src/ts/components/CustomSelect/components/Icon.tsx new file mode 100644 index 0000000..d97b9d7 --- /dev/null +++ b/src/ts/components/CustomSelect/components/Icon.tsx @@ -0,0 +1,31 @@ +import React from 'react'; + +import style from '../styles/icon.module.scss'; + +interface UiKitSelectIconProps { + openSearch: boolean; + setOpenSearch: Function; +} + +function UiKitSelectIcon({ + openSearch, + setOpenSearch, +}: UiKitSelectIconProps) { + const className = [style.ui_kit_select_icon_button]; + if (openSearch) { + className.push(style.ui_kit_select_icon_button_open); + } + + return ( +