import React from 'react'; import { Select } from 'antd'; import { SocialHandleDropdownItem } from '../../../types/config-section'; import { NEXT_PUBLIC_API_HOST } from '../../../utils/apis'; import { OTHER_SOCIAL_HANDLE_OPTION } from './constants'; interface DropdownProps { iconList: SocialHandleDropdownItem[]; selectedOption: string; onSelected: any; } export default function SocialDropdown({ iconList, selectedOption, onSelected }: DropdownProps) { const handleSelected = value => { if (onSelected) { onSelected(value); } }; const inititalSelected = selectedOption === '' ? null : selectedOption; return (
If you are looking for a platform name not on this list, please select Other and type in your own name. A logo will not be provided.
If you DO have a logo, drop it in to the /webroot/img/platformicons
directory
and update the /socialHandle.go
list. Then restart the server and it will show
up in the list.