Update the invite button icon
The design specs have changed to always use the outline variants of icons on buttons like this.
This commit is contained in:
@@ -17,14 +17,14 @@ limitations under the License.
|
||||
import { ComponentPropsWithoutRef, FC } from "react";
|
||||
import { Button } from "@vector-im/compound-web";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import UserAddSolidIcon from "@vector-im/compound-design-tokens/icons/user-add-solid.svg?react";
|
||||
import UserAddIcon from "@vector-im/compound-design-tokens/icons/user-add.svg?react";
|
||||
|
||||
export const InviteButton: FC<
|
||||
Omit<ComponentPropsWithoutRef<"button">, "children">
|
||||
> = (props) => {
|
||||
const { t } = useTranslation();
|
||||
return (
|
||||
<Button kind="secondary" size="sm" Icon={UserAddSolidIcon} {...props}>
|
||||
<Button kind="secondary" size="sm" Icon={UserAddIcon} {...props}>
|
||||
{t("Invite")}
|
||||
</Button>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user