import type { InputPropsFor } from "@homarr/form/types"; import { useScopedI18n } from "@homarr/translation/client"; import { SelectWithDescription } from "@homarr/ui"; import type { SidebarBehaviour } from "../../settings"; export const SidebarBehaviourSelect = (props: InputPropsFor) => { const tSidebarBehaviour = useScopedI18n("board.action.oldImport.form.sidebarBehavior"); return ( (value ? props.onChange(value as SidebarBehaviour) : null)} /> ); };