diff --git a/rsconcept/frontend/src/components/Common/Modal.tsx b/rsconcept/frontend/src/components/Common/Modal.tsx index 37d0f675..3f943b9b 100644 --- a/rsconcept/frontend/src/components/Common/Modal.tsx +++ b/rsconcept/frontend/src/components/Common/Modal.tsx @@ -42,7 +42,7 @@ function Modal({ ref={ref} className='fixed bottom-1/2 left-1/2 translate-y-1/2 -translate-x-1/2 px-6 py-4 flex flex-col justify-start w-fit max-w-[calc(100vw-2rem)] h-fit z-modal clr-app border shadow-md' > - { title &&

{title}

} + { title &&

{title}

}
{children}
diff --git a/rsconcept/frontend/src/components/Common/SelectMulti.tsx b/rsconcept/frontend/src/components/Common/SelectMulti.tsx new file mode 100644 index 00000000..b146d5aa --- /dev/null +++ b/rsconcept/frontend/src/components/Common/SelectMulti.tsx @@ -0,0 +1,66 @@ +import { useMemo } from 'react'; +import Select, { GroupBase, Props, StylesConfig } from 'react-select'; + +import { useConceptTheme } from '../../context/ThemeContext'; +import { selectDarkT, selectLightT } from '../../utils/color'; + +interface SelectMultiProps< + Option, + Group extends GroupBase