import {
type RoomCategory,
type RoomItem,
categorias,
} from "../../data/roomSetupData";
type FilterButtonProps = {
category: RoomCategory;
active: boolean;
onSelect: (id: string) => void;
};
export function FilterButton({
category,
active,
onSelect,
}: FilterButtonProps) {
return (
);
}
type RoomCardProps = {
room: RoomItem;
onSelect: (url: string) => void;
};
export function RoomCard({ room, onSelect }: RoomCardProps) {
const categoryLabel =
categorias.find((cat) => cat.id === room.category)?.label ?? room.category;
return (
);
}