import { DiskBusType } from "../../api/VMApi"; import { SelectInput } from "./SelectInput"; export function DiskBusSelect(p: { editable: boolean; value: DiskBusType; label?: string; onValueChange: (value: DiskBusType) => void; size?: "medium" | "small"; disableUnderline?: boolean; disableBottomMargin?: boolean; }): React.ReactElement { return ( { p.onValueChange(v as any); }} /> ); }