import React, { useState } from 'react';
import { Facebook, Twitter, Instagram, Linkedin, AlertCircle } from 'lucide-react';
const AccountLinking = () => {
const [platform, setPlatform] = useState('');
const [username, setUsername] = useState('');
const handleLink = async () => {
// Here we would integrate with the chosen platform's API
// For now, just demonstrate the flow
alert(`Linking ${username} on ${platform}`);
};
return (
Link Social Media Account
{platform && (
)}
);
};
export default AccountLinking;