// packages/block-library/src/social-link/social-list.js
import { __ } from "@wordpress/i18n";
import { ChainIcon } from "./icons";
function getSocialService(variation) {
  if (!variation?.name) {
    return {
      icon: ChainIcon,
      label: __("Social Icon")
    };
  }
  return {
    icon: variation?.icon ?? ChainIcon,
    label: variation?.title ?? __("Social Icon")
  };
}
export {
  getSocialService
};
//# sourceMappingURL=social-list.js.map
