{values.map((value, index) => {
const targetObject = tabsContentArray.find(
(ctn) => ctn.value == value
);
const isActive = value == activeValue;
return (
{
setActiveValue(undefined);
setTimeout(() => {
setActiveValue(value);
}, debounce);
}}
key={index}
>
{targetObject?.title}
);
})}
{targetContent?.content}
);
}