import { FeatherChevronDown, FeatherChevronUp } from "@subframe/core" import { useTranslation } from "react-i18next" interface Props { open: boolean setOpen: React.Dispatch> } // Unlike the other icons in this folder, this is a stateful toggle button (not a // bare `{ className }` icon). It keeps its public `{ open, setOpen }` API so its // only call site (tables/CollapsibleRow) stays unchanged, but renders Subframe // Feather chevrons instead of the previous hand-authored SVGs. export default function OpenCloseArrowIcon({ open, setOpen }: Props) { const { t } = useTranslation() const Chevron = open ? FeatherChevronUp : FeatherChevronDown return ( ) }