import { LayoutGrid } from 'lucide-react'; import Linux from '@/assets/ico/linux.svg?c'; import { ButtonSelector } from '@@/form-components/ButtonSelector/ButtonSelector'; import { Icon } from '@@/Icon'; import { OS } from './types'; interface Props { value: OS; onChange(value: OS): void; } export function OsSelector({ onChange, value }: Props) { return (
onChange(os)} options={[ { value: 'linux', label: ( <> Linux ), }, { value: 'win', label: ( <> Windows ), }, ]} />
); }