, cls: string) => {
if (cls.includes('top-')) acc.top = cls.replace('top-', '');
if (cls.includes('bottom-')) acc.bottom = cls.replace('bottom-', '');
if (cls.includes('left-')) acc.left = cls.replace('left-', '');
if (cls.includes('h-full')) acc.height = '100%';
if (cls.includes('w-full')) acc.width = '100%';
return acc;
}, {}),
width: orientation === 'horizontal' ? `${percentage}%` : '100%',
height: orientation === 'vertical' ? `${percentage}%` : '100%',
backgroundColor: getBarColor(),
boxShadow: barStyle === 'solid' ? `0 0 10px ${getBarColor()}` : undefined,
} as React.CSSProperties}
>
{barStyle === 'segmented' && (
<>
>
)}