/**
 * Platform Selector Component
 * Phase 6: Site Integration & Multi-Destination Publishing
 */
import React from 'react';
import SelectDropdown from '../form/SelectDropdown';

interface PlatformSelectorProps {
  value: string;
  onChange: (value: string) => void;
  disabled?: boolean;
}

const PLATFORMS = [
  { value: 'wordpress', label: 'WordPress' },
  { value: 'shopify', label: 'Shopify' },
  { value: 'custom', label: 'Custom API' },
];

export default function PlatformSelector({ value, onChange, disabled }: PlatformSelectorProps) {
  return (
    <SelectDropdown
      options={PLATFORMS}
      value={value}
      onChange={(optionValue) => onChange(optionValue)}
      disabled={disabled}
      placeholder="Select platform"
    />
  );
}

