'use client'; import React, { useState } from 'react'; import { Button, Icon } from '@theme/components'; // eslint-disable-next-line @akinon/projectzero/link-import import Link from 'next/link'; import { ShareProps } from '@theme/components/types/index'; import clsx from 'clsx'; const Share = ({ buttonText = null, buttonClassName, buttonAppearance = 'ghost', className, buttonIconName = 'share', buttonIconSize = 24, buttonIconProps = {}, items }: ShareProps) => { const [open, setOpen] = useState(false); return (