diff --git a/src/components/Select.tsx b/src/components/Select.tsx index 378c697adba5044e7b6ba57293fb765a54ee87a8..10dae9160008553b2570d4490a75969b1170bdbb 100644 --- a/src/components/Select.tsx +++ b/src/components/Select.tsx @@ -5,6 +5,7 @@ import Tag from './Tag'; const Option = ({ children, data, ...rest }: { children: any; data: any }) => { return ( + // @ts-expect-error: Not typed yet <components.Option {...rest}> <Tag color={data.value.color}>{children}</Tag> </components.Option> @@ -16,6 +17,7 @@ const Select = <OptionType, isMulti extends boolean>(props: NamedProps<OptionTyp control: (provided) => ({ ...provided, border: '0', borderRadius: '0.5em' }), multiValue: (provided, state) => ({ ...provided, + // @ts-expect-error: Not typed yet backgroundColor: state?.data?.value?.color || 'grey', borderRadius: '999px', padding: '0 3px',