2024-10-03 17:42:17 +02:00
|
|
|
import { SelectOptionBadge } from '@/renderer/components/databases/fields/select-option-badge';
|
2024-11-07 09:15:00 +01:00
|
|
|
import { SelectOptionAttributes } from '@colanode/core';
|
2024-09-13 17:53:22 +02:00
|
|
|
|
|
|
|
|
interface BoardViewColumnHeaderProps {
|
2024-11-01 20:01:20 +01:00
|
|
|
option: SelectOptionAttributes;
|
2024-09-13 17:53:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export const BoardViewColumnHeader = ({
|
|
|
|
|
option,
|
|
|
|
|
}: BoardViewColumnHeaderProps) => {
|
|
|
|
|
return (
|
|
|
|
|
<div className="flex flex-row items-center gap-2">
|
|
|
|
|
<SelectOptionBadge name={option.name} color={option.color} />
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
};
|