Change wording from 'share' to 'invite'

This was updated in the designs.
This commit is contained in:
Robin
2023-09-27 15:17:04 -04:00
parent 03caa22f0e
commit a959436ac7
6 changed files with 18 additions and 18 deletions

View File

@@ -19,13 +19,13 @@ import { Button } from "@vector-im/compound-web";
import { useTranslation } from "react-i18next";
import { ReactComponent as UserAddSolidIcon } from "@vector-im/compound-design-tokens/icons/user-add-solid.svg";
export const ShareButton: FC<
export const InviteButton: FC<
Omit<ComponentPropsWithoutRef<"button">, "children">
> = (props) => {
const { t } = useTranslation();
return (
<Button kind="secondary" size="sm" Icon={UserAddSolidIcon} {...props}>
{t("Share")}
{t("Invite")}
</Button>
);
};