import { Input, Kbd } from "@heroui/react"; import { useAtom } from "jotai"; import { IconSearch } from "@tabler/icons-react"; import type { ReactNode } from "react"; import { filterAtom } from "../state/atoms"; export function ViewShell({ title, subtitle, actions, searchPlaceholder, children, }: { title: string; subtitle?: string; actions?: ReactNode; searchPlaceholder?: string; children: ReactNode; }) { const [filter, setFilter] = useAtom(filterAtom); return (
{subtitle}
)}{hint}
)} {action &&