Move join room button
This commit is contained in:
@@ -9,7 +9,7 @@ import { ReactComponent as HangupIcon } from "../icons/Hangup.svg";
|
||||
import { ReactComponent as ScreenshareIcon } from "../icons/Screenshare.svg";
|
||||
import { useButton } from "@react-aria/button";
|
||||
import { mergeProps, useObjectRef } from "@react-aria/utils";
|
||||
import { Tooltip, TooltipTrigger } from "../Tooltip";
|
||||
import { TooltipTrigger } from "../Tooltip";
|
||||
|
||||
export const variantToClassName = {
|
||||
default: [styles.button],
|
||||
@@ -18,6 +18,7 @@ export const variantToClassName = {
|
||||
secondary: [styles.secondary],
|
||||
copy: [styles.copyButton],
|
||||
iconCopy: [styles.iconCopyButton],
|
||||
secondaryCopy: [styles.copyButton],
|
||||
};
|
||||
|
||||
export const sizeToClassName = {
|
||||
@@ -65,6 +66,7 @@ export const Button = forwardRef(
|
||||
{
|
||||
[styles.on]: on,
|
||||
[styles.off]: off,
|
||||
[styles.secondaryCopy]: variant === "secondaryCopy",
|
||||
}
|
||||
)}
|
||||
{...mergeProps(rest, filteredButtonProps)}
|
||||
|
||||
Reference in New Issue
Block a user