'use client' import { setBlogViewCookie, type BlogView } from 'app/blog/blog-view' import { motion } from 'framer-motion' import { AlignJustify, Grid } from 'lucide-react' import { cn } from 'ui' export default function BlogViewToggle({ view, setView, }: { view: BlogView setView: (view: BlogView) => void }) { return (
{(['list', 'grid'] as BlogView[]).map((v) => ( ))}
) }