import { useMessages } from '@/components/hooks'; import { Plus } from '@/components/icons'; import { DialogButton } from '@/components/input/DialogButton'; import { LinkEditForm } from './LinkEditForm'; export function LinkAddButton({ teamId }: { teamId?: string }) { const { formatMessage, labels } = useMessages(); return ( } label={formatMessage(labels.addLink)} variant="primary" width="600px" > {({ close }) => } ); }